warning method
Implementation
void warning(String name, Object error, StackTrace stackTrace) => lg.warning('$name($error)', error, stackTrace);
void warning(String name, Object error, StackTrace stackTrace) => lg.warning('$name($error)', error, stackTrace);