public class CallLog extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEBUG_LEVEL
The Constant DEBUG_LEVEL.
|
static String |
ERROR_LEVEL
The Constant ERROR_LEVEL.
|
static String |
INFO_LEVEL
The Constant INFO_LEVEL.
|
static int |
MESSAGE_CRITICAL_LENGTH
Log message critical length.
|
protected static int |
MESSAGE_CRITICAL_LENGTH_FINAL
The Constant MESSAGE_CRITICAL_LENGTH_FINAL.
|
static int |
MESSAGE_MAX_LENGTH
Log message max length.
|
static String |
MESSAGE_NO_DATA
The Constant MESSAGE_NO_DATA.
|
static String |
TRACE_LEVEL
The Constant TRACE_LEVEL.
|
static String |
WARN_LEVEL
The Constant WARN_LEVEL.
|
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String msg)
Debug.
|
void |
error(String msg)
Error.
|
void |
info(String msg)
Info.
|
static boolean |
isSafe(String msg)
Checks if is message valid.
|
void |
trace(String msg)
Trace.
|
static String |
validate(String msg)
Validate a message by cutting it if it is longer of 10240 bytes.
|
protected String |
validateFinal(String msg)
Validate final.
|
void |
warn(String msg)
Warn.
|
public static final String TRACE_LEVEL
public static final String DEBUG_LEVEL
public static final String INFO_LEVEL
public static final String WARN_LEVEL
public static final String ERROR_LEVEL
public static final String MESSAGE_NO_DATA
public static final int MESSAGE_MAX_LENGTH
public static final int MESSAGE_CRITICAL_LENGTH
protected static final int MESSAGE_CRITICAL_LENGTH_FINAL
public static boolean isSafe(String msg)
msg - the msgpublic static String validate(String msg)
msg - the msgprotected String validateFinal(String msg)
msg - the msgpublic void info(String msg)
msg - the msgpublic void warn(String msg)
msg - the msgpublic void error(String msg)
msg - the msgpublic void debug(String msg)
msg - the msgpublic void trace(String msg)
msg - the msgCopyright © 2003–2018 eXo Platform SAS. All rights reserved.