ServerLog.fromLogRecord constructor
ServerLog.fromLogRecord(
- LogRecord record
Implementation
factory ServerLog.fromLogRecord(logging.LogRecord record) =>
ServerLog((b) => b
..message = record.message
..level = Level.valueOf(record.level.name)
..loggerName = record.loggerName
..error = record.error?.toString()
..stackTrace = record.stackTrace?.toString());