0.0.4 • Published 2 years ago

stream-sfra-logs v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Steam SFRA Logs

This package uses webdav to read recent sandbox log files and output them into your terminal to approximate live sever logging. Using the credentials of your dw.json.

Usage

  • Install package in sfra or cartridge root npm install stream-sfra-logs
  • Add Script to your package.json file:
    {
      ...
      "scripts" : {
        ...
        "logs": "stream-sfra-logs"
      }
    }
  • Run script npm run logs to see near real time logging in terminal.

Features

  • Log Prefixes: defaults to warn, error but you can set any log prefixes with the --log-prefixes variable in the script like so:
    {
      ...
      "scripts" : {
        ...
        "logs": "stream-sfra-logs --log-prefixes warn error custom"
      }
    }
0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago