Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

make logger tokens extensible #309

Closed
tj opened this Issue · 1 comment

1 participant

TJ Holowaychuk
TJ Holowaychuk
Owner
tj commented

and use that api for the stuff we have now

TJ Holowaychuk
Owner
tj commented

formats too

TJ Holowaychuk tj closed this issue from a commit
TJ Holowaychuk tj Added ability to define `logger()` tokens and formats. Closes #309
includes the following additional changes:

  - formats are pre-compiled to a function, much like a little template language
  - added 3 pre-defined formats for various needs "dev" is nice colored output when in development :)

overall mostly cosmetic, though there is a small performance increase
by compiling these at boot
48fe5cd
TJ Holowaychuk tj closed this in 48fe5cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.