Commit Graph

8 Commits (master)

Author SHA1 Message Date
Kebler Network System Administrator e776937738 0.1.0
move to native esm
simplify custom filter function
2021-04-24 09:10:02 -07:00
David Kebler e9cee9bcd3 0.0.16
prepend pino prettty within the logger with a pretty filter pre processor
adds easier filtering of log properties (default) and filtering based on location/where properties
support a new env variable UCI_LOG_PRETTY  with options like terse,verbose,where
2019-11-21 10:03:51 -08:00
David Kebler 2713cb66ea 0.0.14 updated deps, improved datetime stamp 2019-04-26 10:07:32 -07:00
David Kebler 1059e18f72 0.0.13
fix bugs associated with using package property.
Move to utils subdirectory
2019-02-14 21:06:27 -08:00
David Kebler 72adfffbeb added
.default value,
.clear method (does nothing yet)
.div method adds a divider using console log but only on output to console.
.lvlset  a method to set the level that doesn't get called if logging is disabled which turns on logging.
wrapped all the prelim stuff in enabled valued so it doesn't get called with logger is disabled.
2019-02-05 18:09:26 -08:00
David Kebler 893f88b20d Moved so single main environment variable UCI_ENV
now checks for development and production.
Production will write a file to default location if none given
Example can be run in numerous ways from npm scripts
add readme.md documenatation.
need to add mocha tests
2019-02-04 19:22:05 -08:00
David Kebler 7d2be397cd updated pino, also now using pino-pretty. note pino-pretty searches must! be escaped 2018-12-04 11:35:38 -08:00
David Kebler f327fd57ae json runtime logger based on pino 2018-04-05 15:46:45 -07:00