log abstract method

Future<void> log({
  1. dynamic message,
  2. LogEvent? event,
})

Abstract method to log a message or event.

message - The message or data to log. event - Optional. The specific log event associated with the message.

Implementation

Future<void> log({dynamic message, LogEvent? event});