Package org.javlo.helper
Class LocalLogger
- java.lang.Object
-
- org.javlo.helper.LocalLogger
-
public class LocalLogger extends Object
- Author:
- pvandermaesen
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEBUG
static int
ERROR
static boolean
ERROR_ON_INIT
static int
INFO
static boolean
PRINT_TIME
static File
SPECIAL_LOG_FILE
static int
WARNING
-
Constructor Summary
Constructors Constructor Description LocalLogger()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
close()
static void
cronoStart()
static void
cronoStep(String name)
static void
endCount(String key, String message)
static void
forceStartCount(String key)
static void
forceStepCount(String key, String message)
static void
init(javax.servlet.ServletContext application)
static void
log(boolean print, String text)
static void
log(int type, String message)
static void
log(String text)
static void
log(Throwable e)
static void
logStack(boolean print)
static void
startCount(String key)
static void
stepCount(String key, String message)
-
-
-
Field Detail
-
SPECIAL_LOG_FILE
public static File SPECIAL_LOG_FILE
-
PRINT_TIME
public static boolean PRINT_TIME
-
ERROR_ON_INIT
public static boolean ERROR_ON_INIT
-
INFO
public static final int INFO
- See Also:
- Constant Field Values
-
WARNING
public static final int WARNING
- See Also:
- Constant Field Values
-
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
-
DEBUG
public static final int DEBUG
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public static void init(javax.servlet.ServletContext application)
-
log
public static void log(int type, String message)
-
log
public static void log(Throwable e)
-
startCount
public static void startCount(String key)
-
forceStartCount
public static void forceStartCount(String key)
-
close
public static void close() throws IOException
- Throws:
IOException
-
log
public static final void log(boolean print, String text)
-
logStack
public static final void logStack(boolean print)
-
log
public static final void log(String text)
-
cronoStart
public static final void cronoStart()
-
cronoStep
public static final void cronoStep(String name)
-
-