public class FormattedLogger extends Object
Log methods. Automatically sets up Log for you. It's called the FormattedLogger because
it handles everything in ansi-C standard printf format. For example, printf("The epoch time is now %d", new Date().getTime()).
import org.kuali.kra.logging.FormattedLogger.*
Log,
LogFactory| Constructor and Description |
|---|
FormattedLogger() |
| Modifier and Type | Method and Description |
|---|---|
static void |
debug(String pattern,
Object... objs)
Wraps
Log#debug(String) |
static void |
error(String pattern,
Object... objs)
Wraps
Log#error(String) |
static void |
fatal(String pattern,
Object... objs)
Wraps
Log#fatal(String) |
static void |
info(String pattern,
Object... objs)
Wraps
Log#info(String) |
static void |
trace(String pattern,
Object... objs)
Wraps
Log#trace(String) |
static void |
warn(String pattern,
Object... objs)
Wraps
Log#warn(String) |
public static final void trace(String pattern, Object... objs)
Log#trace(String)pattern - to format againstobjs - an array of objects used as parameters to the patternpublic static final void debug(String pattern, Object... objs)
Log#debug(String)pattern - to format againstobjs - an array of objects used as parameters to the patternpublic static final void info(String pattern, Object... objs)
Log#info(String)pattern - to format againstobjs - an array of objects used as parameters to the patternpublic static final void warn(String pattern, Object... objs)
Log#warn(String)pattern - to format againstobjs - an array of objects used as parameters to the patternpublic static final void error(String pattern, Object... objs)
Log#error(String)pattern - to format againstobjs - an array of objects used as parameters to the patternCopyright © 2013 The Kuali Foundation. All Rights Reserved.