Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotate event #118

Closed
gilly3 opened this issue Jan 17, 2018 · 1 comment
Closed

Rotate event #118

gilly3 opened this issue Jan 17, 2018 · 1 comment

Comments

@gilly3
Copy link
Contributor

gilly3 commented Jan 17, 2018

I would like to log a detailed status message at the top of each log file. I was hoping that the transport would provide either a "rotate" event that I could listen for, or provide some other mechanism to make sure that each log file contains my status message near the beginning of the file.

Is this feasible? If I were to submit a pull request, where in the code is the right place to raise such an event?

@mattberther
Copy link
Member

Some long-overdue refactoring of the transport has occurred. A PR is available at #107. Also, a pre-release version has been published to npm. Please npm install [email protected]. This version of the transport emits a rotate event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants