init static method
初始化日志工具类
Initializes the log utility with optional debug mode, tag, and log level. This method can only be called once.
Implementation
static void init({
bool isDebug = false,
String tag = _defaultTag,
LogLevel level = LogLevel.verbose,
}) {
_debuggable = isDebug;
_currentTag = tag.isEmpty ? _defaultTag : tag;
_logLevel = level;
}