LogContext constructor
LogContext({
- required Level level,
- required String message,
- required DateTime timestamp,
- required String scope,
- dynamic throwable,
- StackTrace? stackTrace,
Creates a new LogContext.
level is the severity level of the log.
message is the log message.
timestamp is the timestamp of the log entry.
scope is the scope of the log.
throwable is the associated error or exception, if any.
stackTrace is the associated stack trace, if any.
Implementation
LogContext({
required this.level,
required this.message,
required this.timestamp,
required this.scope,
this.throwable,
this.stackTrace,
});