d method

  1. @override
dynamic d(
  1. dynamic message, {
  2. String? prefix,
  3. int? maxChars,
  4. bool isJson = false,
  5. int? fileLinkLevel,
})
override

method d

Implementation

@override
d(dynamic message,
    {String? prefix,
    int? maxChars,
    bool isJson = false,
    int? fileLinkLevel}) {
  try {
    final formattedMessage = _formatMessage(
        isJson ? jsonFormat(message) : message,
        prefix ?? _prefix,
        maxChars,
        isJson);

    intercept(formattedMessage, LogType.debug);

    _logger.log(formattedMessage,
        tag: 'D', level: _Level.debug, fileLinkLevel: fileLinkLevel);
  } catch (_) {}
}