![]() |
Alexa Auto SDK
2.0.0
|
Static Public Member Functions | |
static EngineConfiguration | createConsoleSinkConfig (final String id, final Logger.Level level) |
static EngineConfiguration | createSyslogSinkConfig (final String id, final Logger.Level level) |
static EngineConfiguration | createFileSinkConfig (final String id, final Logger.Level level, final String path, final String prefix, final int maxSize, final int maxFiles, final boolean append) |
static EngineConfiguration | createFileSinkConfig (String id, Logger.Level level, String path) |
static EngineConfiguration | createLoggerRuleConfig (final String sink, final Logger.Level level, final String sourceFilter, final String tagFilter, final String messageFilter) |
static EngineConfiguration | createLoggerRuleConfig (String sink, Logger.Level level) |
|
static |
Factory method used to programmatically generate logger configuration data for a console sink. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
id | The id of sink object |
level | The log level to be used to filter logs to this sink |
|
static |
Factory method used to programmatically generate logger configuration data for a syslog sink. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
id | The id of sink object |
level | The log level to be used to filter logs to this sink |
|
static |
Factory method used to programmatically generate logger configuration data for a file sink. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
id | The id of sink object |
level | The log level to be used to filter logs to this sink |
path | The parent path where the log files will be written (must exist) |
prefix | The prefix name given to the log file |
maxSize | The maximum log file size in bytes |
maxFiles | The maximum number of log files to rotate |
append | true If the logs should be appended to the existing file, false if the file should be overwritten |
|
static |
Factory method used to programmatically generate logger configuration data for a file sink. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
id | The id of sink object |
level | The log level to be used to filter logs to this sink |
path | The parent path where the log files will be written (must exist) |
prefix | The prefix name given to the log file |
maxSize | The maximum log file size in bytes |
maxFiles | The maximum number of log files to rotate |
append | true If the logs should be appended to the existing file, false if the file should be overwritten |
|
static |
Factory method used to programmatically generate configuration data for a logger rule. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
sink | The id of sink object to which this rule is applied |
level | The log level to be used as a filter for this rule |
sourceFilter | The source regex to be used as a filter for this rule |
tagFilter | The tag regex to be used as a filter for this rule |
messageFilter | The message regex to be used as a filter for this rule |
|
static |
Factory method used to programmatically generate configuration data for a logger rule. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
sink | The id of sink object to which this rule is applied |
level | The log level to be used as a filter for this rule |
sourceFilter | The source regex to be used as a filter for this rule |
tagFilter | The tag regex to be used as a filter for this rule |
messageFilter | The message regex to be used as a filter for this rule |
Alexa Auto SDK 2.0.0 - Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0