Logger.init constructor

Logger.init({
  1. SLogOptions options = const SLogOptions.none(),
})

Init the global instance of the SLog with options

Implementation

factory Logger.init({
  SLogOptions options = const SLogOptions.none(),
}) {
  return _instance = Logger(options: options);
}