|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.commons.io.log.LogUtil
public final class LogUtil
Helper class for the logs
Constructor Summary | |
---|---|
LogUtil()
|
Method Summary | |
---|---|
static String |
getHeader()
return log header line |
static String |
getLine(int type,
String application,
String message)
return log line from given data |
static int |
toIntType(String attribute,
int defaultValue)
transalte a string log type to a int represenatation |
static String |
toMessage(Exception e)
|
static String |
toStringType(int type,
String defaultValue)
translate int type to String type |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogUtil()
Method Detail |
---|
public static String getHeader()
public static String getLine(int type, String application, String message)
type
- application
- message
-
public static String toStringType(int type, String defaultValue)
type
- defaultValue
-
public static int toIntType(String attribute, int defaultValue)
attribute
- defaultValue
-
public static String toMessage(Exception e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |