i method

  1. @override
dynamic i(
  1. dynamic message, {
  2. String? prefix,
  3. dynamic error,
  4. StackTrace? stackTrace,
  5. int? maxChars,
  6. bool isJson = false,
  7. int? fileLinkLevel,
})
override

method i

Implementation

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

    intercept(formattedMessage, LogType.info);

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