Class ConsoleTextLogExporter
Exports log records to the console where each record will be written
as a line of text to standard output and/or standard error when
configured.
Inheritance
ConsoleTextLogExporter
Assembly: Neon.Common.dll
Syntax
public class ConsoleTextLogExporter : BaseExporter<LogRecord>
Constructors
ConsoleTextLogExporter(ConsoleTextLogExporterOptions)
Constructs a log exporter that writes log records to standard output and/or
standard error as single lines.
Declaration
public ConsoleTextLogExporter(ConsoleTextLogExporterOptions options = null)
Parameters
Methods
Export(in Batch<LogRecord>)
Declaration
public override ExportResult Export(in Batch<LogRecord> batch)
Parameters
| Type |
Name |
Description |
| Batch<LogRecord> |
batch |
|
Returns
| Type |
Description |
| ExportResult |
|