Layout
@codification/cutwater-logging > Layout
Interface
Provides formattin for LoggingEvents.
beta:
Hierarchy
Layout
Implemented by
Methods
Methods
format
▸ format(event: LoggingEvent): string
Defined in Layout.ts:14
Returns the specified event
as a formatted text.
Parameters:
Name | Type | Description |
---|---|---|
event | LoggingEvent | the event to be formatted into a text value |
Returns: string