StreamLogger.root constructor

StreamLogger.root(
  1. String name, {
  2. bool recordStackTraces = false,
  3. int logLevel = 10000,
})

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);