logger library

Classes

BoxLogType
Box style console formatting. If title is set the box will have a title row.
Logger
Serverpods internal logger interface. All logging output should go through this interface. The purpose is to simplify implementing and switching out concrete logger implementations.
LogType
RawLogType
Does not apply any formatting to the log before logging. Assumes log is formatted with end line symbol.
StdOutLogger
Logger that logs using the Stdout library. Errors and Warnings are printed on stderr and other messages are logged on stdout.
TextLogType
Abstract style console formatting. Enables more precise settings for log message.
VoidLogger
Logger that logs no output.

Enums

AnsiStyle
Standard ANSI escape code for customizing terminal text output.
LogLevel
TextLogStyle

Properties

ansiSupported bool
Returns true if the terminal supports ANSI escape codes.
no setter