public abstract static class Constants.LogConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEBUG
"0" DEBUG log level.
|
static int |
ERROR
"6" ERROR log level.
|
static int |
GENERIC
"3" GENERIC log level.
|
static int |
INDEX
"2" INDEX log level.
|
static int |
INFO
"1" INFO log level.
|
static int |
INVALID_LEVEL
"-1" invalid log level.
|
static int |
PASS
"4" PASS log level.
|
static int |
WARN
"5" WARN log level.
|
Modifier and Type | Method and Description |
---|---|
static int |
getLogLevel(java.lang.String logLevelName) |
static java.lang.String |
getLogLevelName(int level) |
static java.lang.String[] |
getLogLevelNames() |
static void |
main(java.lang.String[] args) |
public static final int INVALID_LEVEL
public static final int DEBUG
public static final int INFO
public static final int INDEX
public static final int GENERIC
public static final int PASS
public static final int WARN
public static final int ERROR
public static final java.lang.String getLogLevelName(int level)
public static final java.lang.String[] getLogLevelNames()
public static final int getLogLevel(java.lang.String logLevelName)
logLevelName
- String, the log level name, can be one of logLevelNames
INVALID_LEVEL
if the parameter logLevelName is not valid.public static void main(java.lang.String[] args)
Copyright © SAS Institute. All Rights Reserved.