init static method
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);