Commit Graph

24 Commits (master)

Author SHA1 Message Date
Kebler Network System Administrator 2bb6b65e63 fix: warning about passed level property
refactor!: passed arguments separated into bindings and options
feat: bound properties under meta: key in log
feat: pino key of options argument for pino settings
feat: in dev/pretty can (un)hide properties
feat: add a unique id to each log line (can be loaded by nedb and such)
feat: locate method to easily add line number and file to a log line

BREAKING CHANGE: logger/pino options in second separate argument from bindings
2021-07-31 08:48:47 -07:00
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 89abc92833 0.0.18 2020-05-29 08:10:23 -07:00
David Kebler 7815bce667 0.0.17 2020-05-29 06:48:20 -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 c2638ea4c1 0.0.15 Got some testing going for console output, Log/pretty output can now control which properties get displayed via .ignnore and new property .include. improved the scripts in package.json and updated and cleaned all dependencies. 2019-08-10 15:04:13 -07: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 8c090a8df2 0.0.12 2019-02-14 12:49:38 -08:00
David Kebler 3250084ea6 0.0.11 2019-02-14 11:53:53 -08:00
David Kebler 6a0b07dd40 0.0.10 2019-02-04 19:24:43 -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 88c5886a58 0.0.9 2019-01-30 20:12:39 -08:00
David Kebler c766740558 0.0.8 2019-01-30 20:11:30 -08:00
David Kebler 68a7ce98f3 add logging to file via env variable UCI_PROD 2019-01-30 19:19:45 -08:00
David Kebler 26eedb3d19 0.0.7 2019-01-25 20:33:53 -08:00
David Kebler 10e69be0c8 0.0.6 2019-01-25 20:15:01 -08:00
David Kebler e96bbc2b22 0.0.8 2019-01-25 20:08:15 -08:00
David Kebler c244b470f3 0.0.7 2019-01-25 19:31:45 -08:00
David Kebler 7f23316c4e update dependencies 2019-01-25 12:36:40 -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 35e46a5953 removed DEBUG as known environment variable for development. Use only UCI_DEV for development pretty logging 2018-07-31 08:05:46 -07:00
David Kebler fa71401fb8 upgrade to esm from @std/esm
make export into a function that accepts opts and returns logger child
2018-05-16 07:17:49 -07:00
David Kebler f327fd57ae json runtime logger based on pino 2018-04-05 15:46:45 -07:00