mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-21 21:35:16 +02:00
Add a new log priority: important. Should make it easier to display interesting non-error messages.
This commit is contained in:
@@ -354,6 +354,10 @@ program
|
||||
.option('-p, --priority <level>'
|
||||
, 'minimum log level'
|
||||
, Number
|
||||
, logger.Level.IMPORTANT)
|
||||
.option('-n, --notify-priority <level>'
|
||||
, 'minimum log level to cause a notification'
|
||||
, Number
|
||||
, logger.Level.WARNING)
|
||||
.option('-s, --connect-sub <endpoint>'
|
||||
, 'sub endpoint'
|
||||
@@ -373,6 +377,7 @@ program
|
||||
token: options.token
|
||||
, room: options.room
|
||||
, priority: options.priority
|
||||
, notifyPriority: options.notifyPriority
|
||||
, endpoints: {
|
||||
sub: options.connectSub
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user