LogEntry.withError constructor

LogEntry.withError(
  1. LogLevel level,
  2. String message,
  3. String loggerName,
  4. String? errorDetails,
  5. String? stackTrace,
)

Implementation

factory LogEntry.withError(LogLevel level, String message, String loggerName,
        String? errorDetails, String? stackTrace) =>
    LogEntry._(level, message, loggerName, errorDetails, stackTrace);