ubuntu_logger library

A logging frontend based on Google's logging library for Dart.

import 'package:ubuntu_logger/ubuntu_logger.dart';

final log = Logger('a_context');

void main() {
  Logger.setup(
    path: '/path/to/file.log',
    level: LogLevel.info,
  );

  log.debug('This is a debug message.');
  log.info('This is an info message.');
}

Classes

Logger
A logger that prints to the console and writes to a log file.
LogLevel
Defines available logging levels.