StreamLogger.root constructor
Creates a root logger.
If recordStackTraces
is true, log records will contain the stack trace of the calling code.
logLevel
should be an integer between 0
and 10000
. Please refer to Level for more information.
Implementation
StreamLogger.root(String name,
{bool recordStackTraces = false, int logLevel = 10000})
: this._(name, null,
recordStackTraces: recordStackTraces, logLevel: logLevel);