https://github.com/tommasoazz/log_logger
Wrapper of the logger library available on pub.dev
https://github.com/tommasoazz/log_logger
dart library logger logging
Last synced: 10 months ago
JSON representation
Wrapper of the logger library available on pub.dev
- Host: GitHub
- URL: https://github.com/tommasoazz/log_logger
- Owner: TommasoAzz
- License: mit
- Created: 2021-07-11T14:03:00.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-08T18:40:10.000Z (over 3 years ago)
- Last Synced: 2023-08-20T22:31:51.983Z (almost 3 years ago)
- Topics: dart, library, logger, logging
- Language: Dart
- Homepage:
- Size: 30.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# LogLogger
Wrapper of the [logger](https://pub.dev/packages/logger) library available on [pub.dev](https://pub.dev).
Everything you can do with **logger** is supported here but with a more convenient way to log messages into a text file.
## Getting Started
In order to use the logging functionalities, you need to get a logger:
```dart
LogLogger.setMinimumLogLevel(LoggerLevel.verbose);
final logger = LogLogger.getLogger('loggerName');
logger.i('I am a logger called loggerName!');
```
## What you can do to help
I developed this wrapper package since it can help other people in need of something similar.
Some stuff is missing, like for example the possibility to reuse the same reference of a logger even if the instance has changed
(I'm not sure if that is possible).
Please contribute with your PRs if you wish to!