https://github.com/pro100andrey/pro_pretty_logging
https://github.com/pro100andrey/pro_pretty_logging
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pro100andrey/pro_pretty_logging
- Owner: pro100andrey
- License: mit
- Created: 2022-05-08T11:56:40.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-12-18T17:29:20.000Z (6 months ago)
- Last Synced: 2025-02-15T03:24:33.843Z (4 months ago)
- Language: C++
- Size: 278 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# pro_pretty_logging
The `pro_pretty_logging` library provides a grade solution for enhancing logging in your Dart applications. It offers robust customization options for log output, including colorful formatting, filtering, and improved readability. With `pro_pretty_logging`, you can take control of your logging experience.
## Installation
To use this library, add it to your project's dependencies in the `pubspec.yaml` file:
```yaml
dependencies:
pro_pretty_logging: ^version
```Then, run `flutter pub get` or `dart pub get` to install the library.
## Usage
Import the library and utilize the `prettyLogging()` function with the desired parameters in your code:
```dart
import 'package:pro_pretty_logging/pro_pretty_logging.dart';void main() {
prettyLogging(
enable: kDebugMode,
ignoredLoggers: ['GoRouter'],
type: PrettyOutputType.log,
level: Level.ALL,
);
// Continue with the rest of your application code
}
```# License
This library is distributed under the MIT License. Detailed licensing information is available in the [LICENSE](LICENSE) file.