log_config library
Properties
- defaultLogLevel ↔ LogLevel
-
getter/setter pair
-
logEntryStream
→ Stream<
LogEntry> -
no setter
-
logEntryStreamController
→ StreamController<
LogEntry> -
final
- recordStackTraceAtLevel ↔ LogLevel
-
Automatically record stack traces for any message of this level or above.
getter/setter pair
Functions
-
writeLogEntry(
LogEntry entry, WriteLineFunction writeln, {bool printTimestamp = false, bool printLoggerName = false}) → void -
Writes a standard string representation
entry
usingwriteln
. -
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
.