talker_logger library
Classes
- AnsiPen
- Pen attributes for foreground and background colors.
- ColoredLoggerFormatter
- This formatter makes messages colorful if this setting is enabled in the settings TalkerLoggerSettings
- ConsoleUtils
- Class that contains methods for working with console output
- ExtendedLoggerFormatter
- This formatter makes messages colorful if this setting is enabled in the settings TalkerLoggerSettings
- LogDetails
- A class for transporting data about an log message
- LoggerFilter
- Abstract filter for messages logging.
- LoggerFormatter
- Responsible for formatting message before output
- LogLevelFilter
- This filter checks that current message level is above certain LogLevel setting in TalkerLoggerSettings
- TalkerLogger
- TalkerLoggerSettings
- Logger customization settings
Enums
- LogLevel
- Level of logs to segmentation фтв control logging output
Constants
- ansi_default → const String
- ansi_esc → const String
- ansiDefault → const String
- Reset all colors and options for current SGRs to terminal defaults.
- ansiEscape → const String
- ANSI Control Sequence Introducer, signals the terminal for new settings.
- ansiResetBackground → const String
- Ansi codes that default the terminal's background color without altering the foreground, when printed.
- ansiResetForeground → const String
- Ansi codes that default the terminal's foreground color without altering the background, when printed.
Properties
- ansiColorDisabled ↔ bool
-
Globally enable or disable AnsiPen settings.
getter/setter pair
- color_disabled ↔ bool
-
getter/setter pair
-
logLevelPriorityList
→ List<
LogLevel> -
List of levels sorted by priority
final
Functions
-
resetBackground(
) → String -
resetForeground(
) → String