init static method

void init({
  1. required String appName,
  2. List<LogLevel>? logLevels,
  3. List<LogTag>? logTags,
})

initializes the plugin logLevels -> log levels used for the duration of the app if no log level is set, the defaults are used(error, debug, warning, info, success) logTags -> tags to be used for a log. if no log tag is set, the defaults are used(bluetooth, network)

Implementation

static void init({
  required String appName,
  List<LogLevel>? logLevels,
  List<LogTag>? logTags,
}) =>
    _instance._init(appName: appName, logTags: logTags, logLevels: logLevels);