log_config library Null safety

Properties

defaultLogLevel LogLevel
read / write
logEntryStream Stream<LogEntry>
read-only
logEntryStreamController StreamController<LogEntry>
final
recordStackTraceAtLevel LogLevel
Automatically record stack traces for any message of this level or above.
read / write

Functions

writeLogEntry(LogEntry entry, WriteLineFunction writeln, {bool printTimestamp = false, bool printLoggerName = false}) → void
Writes a standard string representation entry using writeln.
writeLogEntryStream(WriteLineFunction writeln, {bool printTimestamp = false, bool printLoggerName = false}) StreamSubscription<LogEntry>
Listens on logEntryStream and writes a standard string representation of each log entry using writeln.