Allow access to `loggingEvent` in token function. #138

Open
vjpr opened this Issue May 26, 2013 · 2 comments

2 participants

@vjpr

At the moment you have to call fn.caller.arguments in the token function to get the logging event information.

Logging event should be passed in as an argument or in the context.

@nomiddlename

Definitely will fix this one - I'm currently fixing up the code to use strict mode, which stops you from using fn.caller (I think), so your workarounds will break.

@nomiddlename
Owner

This should be available now in version 0.6.7 in npm. If you could confirm that it does what you want, that'd be great.

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