Skip to content

@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), add includeDataInBrowserConsole 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

1.2.0

Major Changes

  • Added browser compatibility with new runtime configuration option
  • Removed writeFn configuration option in favor of runtime 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 using process.stdout.write
  • In 'browser' runtime, logs are written using console.log
  • Default runtime is 'node' for backward compatibility

1.1.0

Minor Changes

1.0.0

Major Changes