|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.core.utils.LogUtils
public class LogUtils
LogUtils class.
| Constructor Summary | |
|---|---|
LogUtils()
|
|
| Method Summary | |
|---|---|
static void |
debugf(Object logee,
String format,
Object... args)
debugf |
static void |
debugf(Object logee,
Throwable throwable,
String format,
Object... args)
debugf |
static void |
enableDebugging()
enableDebugging |
static void |
errorf(Object logee,
String format,
Object... args)
errorf |
static void |
errorf(Object logee,
Throwable throwable,
String format,
Object... args)
errorf |
static void |
fatalf(Object logee,
String format,
Object... args)
Deprecated. SLF4J doesn't support fatal, so this just goes to errorf(java.lang.Object, java.lang.String, java.lang.Object...) anyways. |
static void |
fatalf(Object logee,
Throwable throwable,
String format,
Object... args)
Deprecated. SLF4J doesn't support fatal, so this just goes to errorf(java.lang.Object, java.lang.String, java.lang.Object...) anyways. |
static void |
infof(Object logee,
String format,
Object... args)
infof |
static void |
infof(Object logee,
Throwable throwable,
String format,
Object... args)
infof |
static boolean |
isTraceEnabled(Object logee)
|
static void |
logToConsole()
logToConsole |
static void |
logToFile(String file)
logToFile |
static void |
tracef(Object logee,
String format,
Object... args)
tracef |
static void |
tracef(Object logee,
Throwable throwable,
String format,
Object... args)
tracef |
static void |
warnf(Object logee,
String format,
Object... args)
warnf |
static void |
warnf(Object logee,
Throwable throwable,
String format,
Object... args)
warnf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogUtils()
| Method Detail |
|---|
public static void tracef(Object logee,
String format,
Object... args)
tracef
logee - a Object object.format - a String object.args - a Object object.
public static void tracef(Object logee,
Throwable throwable,
String format,
Object... args)
tracef
logee - a Object object.throwable - a Throwable object.format - a String object.args - a Object object.
public static void debugf(Object logee,
String format,
Object... args)
debugf
logee - a Object object.format - a String object.args - a Object object.
public static void debugf(Object logee,
Throwable throwable,
String format,
Object... args)
debugf
logee - a Object object.throwable - a Throwable object.format - a String object.args - a Object object.
public static void infof(Object logee,
String format,
Object... args)
infof
logee - a Object object.format - a String object.args - a Object object.
public static void infof(Object logee,
Throwable throwable,
String format,
Object... args)
infof
logee - a Object object.throwable - a Throwable object.format - a String object.args - a Object object.
public static void warnf(Object logee,
String format,
Object... args)
warnf
logee - a Object object.format - a String object.args - a Object object.
public static void warnf(Object logee,
Throwable throwable,
String format,
Object... args)
warnf
logee - a Object object.throwable - a Throwable object.format - a String object.args - a Object object.
public static void errorf(Object logee,
String format,
Object... args)
errorf
logee - a Object object.format - a String object.args - a Object object.
public static void errorf(Object logee,
Throwable throwable,
String format,
Object... args)
errorf
logee - a Object object.throwable - a Throwable object.format - a String object.args - a Object object.
public static void fatalf(Object logee,
String format,
Object... args)
errorf(java.lang.Object, java.lang.String, java.lang.Object...) anyways.
fatalf
logee - a Object object.format - a String object.args - a Object object.
public static void fatalf(Object logee,
Throwable throwable,
String format,
Object... args)
errorf(java.lang.Object, java.lang.String, java.lang.Object...) anyways.
fatalf
logee - a Object object.throwable - a Throwable object.format - a String object.args - a Object object.public static void logToConsole()
logToConsole
public static void logToFile(String file)
logToFile
file - a String object.public static void enableDebugging()
enableDebugging
public static boolean isTraceEnabled(Object logee)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||