Logger parameters.

Constructor

new (name:String, printLog:Bool, writeLog:Bool, isHourly:Bool, directory:String, driver:String, influxDB:_InfluxDBOptions, kapacitor:_KapacitorOptions, cluster:String)

Fields

cluster:String

Log cluster.

directory:String

Log files directory.

driver:String

Logger driver. Can be "file" or "influxDB"

influxDB:_InfluxDBOptions

InfluxDB options.

isHourly:Bool

If true, will create a new log file every hour. If false, every day.

kapacitor:_KapacitorOptions

Kapacitor options.

name:String

Logger name. Keep it short, thread name will be set to logger: <name>.

printLog:Bool

Enable log printing to stdout.

writeLog:Bool

Enable writing log to disk.