surf_logger는 Dart와 Flutter를 위한 프로덕션 준비 완료 로깅 패키지로, 다양한 플랫폼에서 구조화되고 신뢰할 수 있으며 구성 가능한 로깅을 제공하도록 설계되었습니다. 풍부한 로그 포맷팅, 필터링 및 외부 서비스와의 통합을 지원하여 실제 애플리케이션에서 디버깅과 모니터링에 이상적입니다. 이 패키지는 surf.ru에서 유지보수되며 pub.dev를 통해 손쉬운 설정이 가능합니다. Android, iOS, Web, macOS, Windows, Linux를 모두 지원하여 배포 환경에 관계없이 일관된 로깅 동작을 보장합니다.
Please note that Logger is a class for configuration, while LogWriter is for usage. This way, we provide access only to the necessary methods for logging, namely log, e, and w.
For instance, the following methods will be available to an instance of LogWriter:
And an instance of Logger will have configuration management methods available. It's important to avoid using this class for other purposes, as it could potentially disrupt the configuration.
Starting from version 2.0.0, the logger is no longer a singleton. Now, you need to create an instance of the logger.
RemoteLogger has been removed. Use LogStrategy to create any required strategy.
All notable changes to this project will be documented in this file.
Issues
To report your issues, file directly in the Issues section.
Contribute
If you would like to contribute to the package (e.g. by improving the documentation, fixing a bug or adding a cool new feature), please read our contribution guide first and send us your pull request.
Your PRs are always welcome.
How to reach us
Please feel free to ask any questions about this package. Join our community chat on Telegram. We speak English and Russian.