debug method

void debug(
  1. String message, {
  2. String? errorMessage,
  3. String? errorKind,
  4. StackTrace? errorStackTrace,
  5. Map<String, Object?> attributes = const {},
})

Sends a debug log message.

You can optionally send an errorMessage, errorKind, and an errorStackTrace that will be connected to this log message.

You can also provide additional attributes for this log message using the attributes parameter. Values passed into attributes must be supported by StandardMessageCodec.

Implementation

void debug(
  String message, {
  String? errorMessage,
  String? errorKind,
  StackTrace? errorStackTrace,
  Map<String, Object?> attributes = const {},
}) {
  _internalLog(LogLevel.debug, message, errorMessage, errorKind,
      errorStackTrace, attributes);
}