패키지, 저장소 및 앱 카테고리 검색

패키지 상세v3.2.0

sentry_lumberdash

적절한 심각도 수준으로 로그를 Sentry에 전송하는 Lumberdash 플러그인

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
24
좋아요
3
Pub 점수
140

패키지 설치

flutter pub add sentry_lumberdash

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Sentry Lumberdash는 Sentry와 통합되어 애플리케이션 로그를 적절한 심각도 수준으로 자동으로 전송하는 Flutter/Dart 로깅 플러그인입니다. 정보, 경고, 오류 등의 로그 메시지를 Sentry로 전달함으로써 디버깅을 향상시키고, 여러 플랫폼에서 실시간 모니터링과 이슈 추적을 가능하게 합니다. Lumberdash 로깅 프레임워크와의 원활한 사용을 위해 설계되어 구조화되고 맥락이 풍부한 오류 보고를 보장합니다. 생산 환경에서 관측 가능성과 빠른 사건 대응을 우선시하는 팀에게 이상적입니다.

사용 사례

  • 실시간 로그 모니터링
  • 생산 앱에서의 오류 추적
  • 크로스 플랫폼 디버깅
  • 기존 로깅 워크플로우와의 통합
  • 앱 관측성 향상

주요 기능

  • 자동 심각도 수준 매핑
  • Lumberdash와의 원활한 통합
  • 다중 플랫폼 지원 (Android, iOS, Web, macOS, Windows, Linux)
  • 구조화된 오류 보고
  • 필수 구성 최소화

적합한 대상

  • Lumberdash를 사용하는 개발자
  • 앱 신뢰성에 집중하는 팀
  • 생산급 로깅 솔루션
  • 크로스 플랫폼 모바일 및 데스크톱 앱
  • 관측성 중심 개발 팀

고려 사항

  • Sentry 계정과 DSN이 필요합니다
  • Lumberdash 로깅 프레임워크에 의존합니다
  • 고용량 로깅 시나리오에서 네트워크 사용량이 증가할 수 있습니다
  • Sentry 통합 없이 기본 로깅에 적합하지 않습니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

lumberdash

Build Status codecov Pub

lumberdash icon

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:

import 'package:lumberdash/lumberdash.dart';
import 'package:colorize_lumberdash/colorize_lumberdash.dart';

void main() {
  putLumberdashToWork(withClients: [ColorizeLumberdash()]);
  logWarning('Hello Warning');
  logFatal('Hello Fatal!');
  logMessage('Hello Message!');
  logError(Exception('Hello Error'));
}

You could also use multiple clients to log to different sources:

import 'package:lumberdash/lumberdash.dart';
import 'package:colorize_lumberdash/colorize_lumberdash.dart';
import 'package:firebase_lumberdash/firebase_lumberdash.dart';

void main() {
  putLumberdashToWork(withClients: [
    ColorizeLumberdash(),
    FirebaseLumberdash(
      firebaseAnalyticsClient: FirebaseAnalytics(),
      environment: 'development',
      releaseVersion: '1.0.0',
    ),
  ]);
  logWarning('Hello Warning');
  logFatal('Hello Fatal!');
  logMessage('Hello Message!');
  logError(Exception('Hello Error'));
}

Plugins officially supported by BMW

How to create a Lumberdash plugin

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 License

Copyright (c) 2019 BMW Technology Corporation

Permission is 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 Software is
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.

카테고리

의존성

의존성 목록 3 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.