Skip to content
Grant Carthew edited this page May 12, 2018 · 20 revisions

Welcome to the node-perj wiki!

Notes:

  • Child logger options can't take behavior options.

Goals

The perj project has the following goals:

  • Designed to be integrated rather than used out of the box (DIY).
  • KISS: Keep it simple smiley.
  • Cross platform (Node.js and Browser) with no platform dependencies.
  • Flexible log and additional property options.
  • Fast.
  • Feature limited.

Features

  • No dependencies.
  • Flexible log methods:
    • Log items can be any number in any order of any type.
  • The first string is nested under the 'msg' key:
    • First string includes a string argument or an Error message.
    • Additional string arguments are nested under the data property.
  • Objects are nested under the 'data' key as an object or array of objects.
  • No transports included (see primary goal).