Method OutputTemplate
OutputTemplate(FixedString512Bytes)
Template that should be used by sinks by default. All sinks without explicit OutputTemplate will use this one after this call.
Declaration
public LoggerConfig OutputTemplate(FixedString512Bytes newTemplate)
Parameters
Type | Name | Description |
---|---|---|
FixedString512Bytes | newTemplate | Template for the messages. Can use any strings and {Level}, {Timestamp}, {Message} as special holes. |
Returns
Type | Description |
---|---|
LoggerConfig | Config to continue methods chain |