log abstract method

void log(
  1. Object exception, [
  2. StackTrace? stack,
  3. Object? context
])

Calls all the registered listeners with error information, but without the error value unlike in set().

Implementation

void log(Object exception, [StackTrace? stack, Object? context]);