Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

v4.0.0 Pass custom logger to the ClusterWS #122

Open
1 of 4 tasks
goriunov opened this issue Oct 29, 2018 · 0 comments
Open
1 of 4 tasks

v4.0.0 Pass custom logger to the ClusterWS #122

goriunov opened this issue Oct 29, 2018 · 0 comments
Assignees

Comments

@goriunov
Copy link
Member

Submitting

  • Bug
  • Question
  • Suggestion
  • Other

Details

Pass custom logger to the ClusterWS instance with mainly used 2 functions error, info ex:

new ClusterWS({
logger: {
  error: (msg) => {
      console.log(msg)
   },
  info: (msg) => {
      console.log(msg)
  }
}
})

It is useful if you use some kind of logger system such as Papertrail to easily track logs coming from ClusterWS.

@goriunov goriunov self-assigned this Oct 29, 2018
@goriunov goriunov changed the title Pass custom logger to the ClusterWS v4.0.0 Pass custom logger to the ClusterWS Oct 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant