initialize static method
void
initialize({
- Level level = Level.INFO,
Initialize logging system Call this once at application startup
Implementation
static void initialize({Level level = Level.INFO}) {
if (_initialized) return;
Logger.root.level = level;
Logger.root.onRecord.listen((record) {
developer.log(
record.message,
time: record.time,
level: record.level.value,
name: 'odbc_fast',
error: record.error,
stackTrace: record.stackTrace,
);
});
_logger = Logger('odbc_fast');
_initialized = true;
}