@mishguru/logview-cli
v4.6.0
Published
Logview CLi
Downloads
5
Keywords
Readme
Log View CLI
Installation
npm install -g @mishguru/logview-cli
Usage
logv
Display a list of logs
Commands:
logv edit-config Open the server config in your editor
logv filter Display a list of logs [default]
logv read [ids...] Display details about selected logs
logv use [server] Set which server to use by default
Options:
--version Show version number [boolean]
--server Which server to use from the config [choices: "internal", "production"]
--disable-selfupdate Prevents the app from automatically updating itself [boolean]
--help Show help [boolean]
--follow, -f Append new logs as they are created [boolean] [default: false]
--lines, -n Number of logs to retrieve [number] [default: 20]
--format [string] [default: "pretty"]
--user, -u A list of user IDs to filter logs by [array]
--sentFrom, -s A list of service names to filter logs by [array]
--type, -t A list of topic type to filter logs by [array]
--payload, -p Filter logs by payload using SQL LIKE [string]
--before, -b Only display logs with an ID before the specified ID [string]
--after, -a Only display logs with an ID after the specified ID [string]
--sent-before Only display logs created before the specified date [string]
--sent-after Only display logs created after the specified date [string]