Make logging level last parameter in the event #29

mmalecki opened this Issue Jun 25, 2012 · 0 comments

2 participants


That'd make these events much less logging-specific. For example, currently when I'm interested in some event (when writing a plugin for existing application), I have to write:

haibu.on('drone:start', function (_, app) {

because first parameter is the log level (not the thing I'm actually interested in - app parameter).

@indexzero You wrote that part. Opinions?

@indexzero indexzero closed this Mar 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment