Skip to content

Level logger with backends for file, http and postgres with support for log rotation

License

Notifications You must be signed in to change notification settings

Jaguar-dart/logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jaguar logger

Example

import 'dart:io';

import 'package:jaguar_logger/io.dart';
import 'package:jaguar_logger/jaguar_logger.dart';

Future<void> main() async {
  final logger = Logger([FileBackend(File('/tmp/log.log'))]);
  await logger.info('First message');
  await logger.info('Second message');
}

TODO

  • Rotation
  • Postgres backend
  • Metrics

About

Level logger with backends for file, http and postgres with support for log rotation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages