GetLogWriter
Returns a standard io.PipeWriter that logs using the same logger configurations in this package.
def GetLogWriter(
ctx: context.Context
) - > *io.PipeWriter
Returns a standard io.PipeWriter that logs using the same logger configurations in this package.
Parameters
| Name | Type | Description |
|---|---|---|
| ctx | context.Context | The context for the operation, used to retrieve logger configurations. |
Returns
| Type | Description |
|---|---|
*io.PipeWriter | A standard io.PipeWriter that can be used to write log messages, which will be processed by the package's configured logger. |