Lumberdash는 다양한 플랫폼에서 다양한 로깅 요구 사항을 충족하도록 설계된 간단하고 확장 가능한 Flutter 애플리케이션용 로깅 API입니다. 사용자 정의 및 확장이 가능한 로그 생성을 위한 깔끔하고 유연한 인터페이스를 제공합니다. Android, iOS, Web, macOS, Windows, Linux를 지원하며, 개발자는 애플리케이션 동작을 추적하고 문제를 디버그하며 성능을 모니터링하는 데 효과적으로 활용할 수 있습니다. 모듈식 설계로 다양한 로그 핸들러와 출력 형식과의 통합이 가능하여 개발 및 생산 환경 모두에 적합합니다.
사용 사례
응용 프로그램 흐름 디버깅
런타임 동작 모니터링
오류 및 예외 캡처
외부 모니터링 도구와의 통합
다중 플랫폼 앱 로그인
사용자 작업 추적
주요 기능
확장 가능한 로깅 아키텍처
크로스 플랫폼 호환성
사용자 정의 가능한 로그 핸들러
기본 및 고급 로깅을 위한 간단한 API
구조화된 로깅 지원
pub.dev를 통한 간편한 통합
적합한 대상
강력한 로깅이 필요한 플러터 개발자
크로스플랫폼 애플리케이션을 개발하는 팀
사용자 정의 로그 출력이 필요한 프로젝트
디버깅과 관찰 가능성에 집중하는 개발자
복잡한 로깅 요구 사항을 가진 애플리케이션
고려 사항
고급 기능을 사용하려면 구성이 필요합니다
로그 지속성을 위해 추가 설정이 필요할 수 있습니다
고주파 로깅 시나리오에서의 성능 영향
제한된 내장 분석 또는 시각화
향상된 기능을 위해 외부 종속성에 의존합니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
lumberdash
Do you need logs? Lumberdash is the answer! With a simple but powerful logging API, Lumberdash is the easiest way to record logs.
And if that is not enough, you can extend its API and create your own custom plugins for your own logging needs.
How it works
Simply putLumberdashToWork with your preferred LumberdashClient, and start logging!
You can get the best of Lumberdash by using plugins! For example, by using the colorize_lumberdash, you could print logs in stdout with colors:
Add lumberdash to your dependencies, and extend the LumberdashClient. That easy!
You can see the SimpleClient in this package as inspiration.
Maintainers
This project is maintained by BMW Group.
Thank you to the original authors
Jorge Coca (@jorgecoca)
Felix Angelov (@felangel)
Tim Chabot(@tchabot22)
and all contributors.
License
MIT LicenseCopyright (c) 2019 BMW TechnologyCorporationPermissionis hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Softwareis
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.