public static enum LoggerConfig.LoggerProperties extends Enum<LoggerConfig.LoggerProperties>
LoggerConfig
.Enum Constant and Description |
---|
LOG_LEVEL_DEV
The amount of logging done by SeLion that the developer wants to see.
Default is set to ALL |
LOG_LEVEL_USER
The amount of logging done by SeLion that the user wants to see.
Default is set to FINE |
LOG_TO_CONSOLE
Should we log to the console (dev, user, off/no/false).
Default is set to false |
LOGS_DIR
The logs directory of SeLion
|
LOGS_MAX_FILE_COUNT
The maximum limit to the number of files to create for storing logs once the current log file reaches
LOGS_MAX_SIZE |
LOGS_MAX_SIZE
The maximum size in MB for the log file.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultValue() |
String |
getName() |
static LoggerConfig.LoggerProperties |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoggerConfig.LoggerProperties[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggerConfig.LoggerProperties LOG_TO_CONSOLE
public static final LoggerConfig.LoggerProperties LOG_LEVEL_USER
public static final LoggerConfig.LoggerProperties LOG_LEVEL_DEV
public static final LoggerConfig.LoggerProperties LOGS_DIR
public static final LoggerConfig.LoggerProperties LOGS_MAX_SIZE
public static final LoggerConfig.LoggerProperties LOGS_MAX_FILE_COUNT
LOGS_MAX_SIZE
public static LoggerConfig.LoggerProperties[] values()
for (LoggerConfig.LoggerProperties c : LoggerConfig.LoggerProperties.values()) System.out.println(c);
public static LoggerConfig.LoggerProperties valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public String getDefaultValue()
Copyright © 2016 PayPal Open Source. All rights reserved.