@loglayer/transport-simple-pretty-terminal
Changelog
2.2.1
Patch Changes
a211dc7
Thanks @theogravity! - Fixes a bug in expanded mode where if there is no data to print, will print out an empty line
2.2.0
Minor Changes
- #212
fc0cdfd
Thanks @theogravity! - Remove algorithmic wrapping of text (decided it was better for the user's terminal to handle wrapping), addincludeDataInBrowserConsole
option to give users the ability to inspect object data when using browser devtools
2.1.0
Minor Changes
- #210
3f761bb
Thanks @theogravity! - In browser mode, use the appropriate console level method (eg console.error) instead of console.log for everything
2.0.0
Major Changes
- #207
738ebe4
Thanks @theogravity! - Remove writeFn, add in aruntime
mode, which adds browser-rendering support
1.2.0
Major Changes
- Added browser compatibility with new
runtime
configuration option - Removed
writeFn
configuration option in favor ofruntime
option - Made all
process.stdout
references optional for browser compatibility
Features
- Added
runtime
configuration option with values'node'
or'browser'
- In
'node'
runtime, logs are written usingprocess.stdout.write
- In
'browser'
runtime, logs are written usingconsole.log
- Default runtime is
'node'
for backward compatibility
1.1.0
Minor Changes
- #205
0c287b2
Thanks @theogravity! - Add writeFn config option to customize how to write out the logs
1.0.0
Major Changes
ebbdad
Thanks @theogravity! - First version