Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sentry transporter for AdonisJs(legacy) Logger

NotificationsYou must be signed in to change notification settings

tuliocll/adonis-winston-transport-sentry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentry logger provider for AdonisJs(legacy)

This package let you make use of sentry as the transporter for your log messages. It is expected to be used with the inbuiltLogger provider of AdonisJs(legacy).

Installation

adonis install adonis-winston-transport-sentry# yarn usersadonis install adonis-winston-transport-sentry --yarn

Next step is to register the provider as show below:start/app.js

constproviders=["adonis-winston-transport-sentry/providers/SentryProvider"];

Now, you are all set to make use of this provider. Just make sure to define the required configuration and settransporter=sentry.

Config

module.exports={logger:{transport:"sentry",sentry:{driver:"sentry-log",sentry:{dsn:"https://******@sentry.io/12345",},level:"info",},},};

About

Sentry transporter for AdonisJs(legacy) Logger

Resources

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp