public class BufferedLogger extends Object
Log methods. Automatically sets up Log for you. It's called the BufferedLogger because
it handles everything in a StringBuilder using StringBuilder.append(CharSequence) method
import org.kuali.kra.logging.BufferedLogger.*
Log| Constructor and Description |
|---|
BufferedLogger() |
| Modifier and Type | Method and Description |
|---|---|
static void |
debug(Object... objs)
Wraps
Log#debug(String) |
static void |
error(Object... objs)
Wraps
Log#error(String) |
static void |
fatal(Object... objs)
Wraps
Log#fatal(String) |
static void |
info(Object... objs)
Wraps
Log#info(String) |
static org.apache.commons.logging.Log |
logger()
Uses
StackTraceElement[] from Throwable to determine the calling class. |
static void |
trace(Object... objs)
Wraps
Log#trace(String) |
static void |
warn(Object... objs)
Wraps
Log#warn(String) |
public static final org.apache.commons.logging.Log logger()
StackTraceElement[] from Throwable to determine the calling class. Then, the Log is retrieved for it by
convention. Just like getLogger() except this is intended to be called directly from classes.public static final void trace(Object... objs)
Log#trace(String)pattern - to format againstobjs - an array of objects used as parameters to the patternpublic static final void debug(Object... objs)
Log#debug(String)pattern - to format againstobjs - an array of objects used as parameters to the patternpublic static final void info(Object... objs)
Log#info(String)pattern - to format againstobjs - an array of objects used as parameters to the patternpublic static final void warn(Object... objs)
Log#warn(String)pattern - to format againstobjs - an array of objects used as parameters to the patternpublic static final void error(Object... objs)
Log#error(String)pattern - to format againstobjs - an array of objects used as parameters to the patternpublic static final void fatal(Object... objs)
Log#fatal(String)pattern - to format againstobjs - an array of objects used as parameters to the patternCopyright © 2013 The Kuali Foundation. All Rights Reserved.