Wrong event name for log #2

Closed
ericchaves opened this Issue Nov 17, 2012 · 1 comment

2 participants

@ericchaves

Hi robert,

I'm not sure if this is a bug due to some update in node.js or a typo in the docs but your readme.md says that to log a message we should emit a log event when your code expect an gelf.log event.

should be:

gelf.emit('gelf.log','myshortmessage');

instead of:

gelf.emit('log','myshortmessage');

You should either update the doc or change the code.

Cheers,

Eric

@robertkowalski

thanks alot! i fixed that and also updated the npm package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment