|
Protege 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protege.util.Log
public class Log
A utility class that prints trace messages of various sorts to a log. By default the "log" is the err console but it could be directed elsewhere.
The following code is an example of the use of Log.
class Foo { void bar(Object o) { ... Log.trace("my message", this, "bar", o); ... } void static baz(Object o1, String s1) { ... Log.trace("my message", Foo.class, "baz", o1, s1); ... }
Method Summary | |
---|---|
static void |
emptyCatchBlock(Throwable t)
|
static void |
enter(Object thisOrClass,
String methodName)
Deprecated. Use #getLogger().enter() |
static void |
enter(Object thisOrClass,
String methodName,
Object arg1)
Deprecated. Use #getLogger().enter() |
static void |
enter(Object thisOrClass,
String methodName,
Object arg1,
Object arg2)
Deprecated. Use #getLogger().enter() |
static void |
enter(Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3)
Deprecated. Use #getLogger().enter() |
static void |
enter(Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4)
Deprecated. Use #getLogger().enter() |
static void |
enter(Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5)
Deprecated. Use #getLogger().enter() |
static void |
error(String description,
Object thisOrClass,
String methodName)
Deprecated. Use getLogger().severe(); |
static void |
error(String description,
Object thisOrClass,
String methodName,
Object arg1)
Deprecated. Use getLogger().severe(); |
static void |
error(String description,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2)
Deprecated. Use getLogger().severe(); |
static void |
error(String description,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3)
Deprecated. Use getLogger().severe(); |
static void |
error(String description,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4)
Deprecated. Use getLogger().severe(); |
static void |
error(String description,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5)
Deprecated. Use getLogger().severe(); |
static void |
exception(Throwable exception,
Object thisOrClass,
String methodName)
Deprecated. Use getLogger().severe(); |
static void |
exception(Throwable exception,
Object thisOrClass,
String methodName,
Object arg1)
Deprecated. Use getLogger().severe(); |
static void |
exception(Throwable exception,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2)
Deprecated. Use getLogger().severe(); |
static void |
exception(Throwable exception,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3)
Deprecated. Use getLogger().severe(); |
static void |
exception(Throwable exception,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4)
Deprecated. Use getLogger().severe(); |
static void |
exception(Throwable exception,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5)
Deprecated. Use getLogger().severe(); |
static void |
exit(Object thisOrClass,
String methodName)
Deprecated. Use getLogger().exiting(); |
static Logger |
getLogger()
|
static Logger |
getLogger(Class c)
|
static void |
stack(String description,
Object thisOrClass,
String methodName)
Deprecated. Use getLogger().info(); |
static void |
stack(String description,
Object thisOrClass,
String methodName,
Object arg1)
Deprecated. Use getLogger().info(); |
static void |
stack(String description,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2)
Deprecated. Use getLogger().info(); |
static void |
stack(String description,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3)
Deprecated. Use getLogger().info(); |
static void |
stack(String description,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4)
Deprecated. Use getLogger().info(); |
static String |
toString(Throwable t)
|
static void |
trace(String description,
Object thisOrClass,
String methodName)
Deprecated. Use getLogger().info(); |
static void |
trace(String description,
Object thisOrClass,
String methodName,
Object arg1)
Deprecated. Use getLogger().info(); |
static void |
trace(String description,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2)
Deprecated. Use getLogger().info(); |
static void |
trace(String description,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3)
Deprecated. Use getLogger().info(); |
static void |
trace(String description,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4)
Deprecated. Use getLogger().info(); |
static void |
trace(String description,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5)
Deprecated. Use getLogger().info(); |
static void |
warning(String description,
Object thisOrClass,
String methodName)
Deprecated. Use getLogger().warning(); |
static void |
warning(String description,
Object thisOrClass,
String methodName,
Object arg1)
Deprecated. Use getLogger().warning(); |
static void |
warning(String description,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2)
Deprecated. Use getLogger().warning(); |
static void |
warning(String description,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3)
Deprecated. Use getLogger().warning(); |
static void |
warning(String description,
Object thisOrClass,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4)
Deprecated. Use getLogger().warning(); |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void enter(Object thisOrClass, String methodName)
methodName
has been called (see the Log
class example).
public static void enter(Object thisOrClass, String methodName, Object arg1)
methodName
has been called and passed the listed argument (see the Log
class
example).
public static void enter(Object thisOrClass, String methodName, Object arg1, Object arg2)
methodName
has been called and passed the listed arguments (see the Log
class example).
public static void enter(Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3)
methodName
has been called and passed the listed arguments (see the Log
class example).
public static void enter(Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3, Object arg4)
methodName
has been called and passed the listed arguments (see the Log
class example).
public static void enter(Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5)
methodName
has been called and passed the listed arguments (see the Log
class example).
public static void error(String description, Object thisOrClass, String methodName)
methodName
which was called with
the listed arguments (see the Log
class example).
public static void error(String description, Object thisOrClass, String methodName, Object arg1)
methodName
which was called with
the listed arguments (see the Log
class example).
public static void error(String description, Object thisOrClass, String methodName, Object arg1, Object arg2)
methodName
which was called with
the listed arguments (see the Log
class example}).
public static void error(String description, Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3)
methodName
which was called with
the listed arguments (see the Log class example
).
public static void error(String description, Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3, Object arg4)
methodName
which was called with
the listed arguments (see the Log class example
).
public static void error(String description, Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5)
methodName
which was called with
the listed arguments (see the Log class example
).
public static void exception(Throwable exception, Object thisOrClass, String methodName)
methodName
(see the Log class
example
).
public static void exception(Throwable exception, Object thisOrClass, String methodName, Object arg1)
methodName
which was called with the listed
arguments (see the Log class example
).
public static void exception(Throwable exception, Object thisOrClass, String methodName, Object arg1, Object arg2)
methodName
which was called with the listed
arguments (see the Log class example
).
public static void exception(Throwable exception, Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3)
methodName
which was called with the listed
arguments (see the Log class example
).
public static void exception(Throwable exception, Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3, Object arg4)
methodName
which was called with the listed
arguments (see the Log class example
).
public static void exception(Throwable exception, Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5)
methodName
which was called with the listed
arguments (see the Log class example
).
public static void exit(Object thisOrClass, String methodName)
methodName
has returned (see the Log class example
).
public static void stack(String description, Object thisOrClass, String methodName)
methodName
(see the Log class example
).
public static void stack(String description, Object thisOrClass, String methodName, Object arg1)
methodName
which was called with the listed argument (see
the Log class example
).
public static void stack(String description, Object thisOrClass, String methodName, Object arg1, Object arg2)
methodName
which was called with the listed arguments (see
the Log class example
).
public static void stack(String description, Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3)
methodName
which was called with the listed arguments (see
the Log class example
).
public static void stack(String description, Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3, Object arg4)
methodName
which was called with the listed arguments (see
the Log class example
).
public static void trace(String description, Object thisOrClass, String methodName)
methodName
(see the Log class example
).
public static void trace(String description, Object thisOrClass, String methodName, Object arg1)
methodName
which was called with the listed arguments (see the class
example
).
public static void trace(String description, Object thisOrClass, String methodName, Object arg1, Object arg2)
methodName
which was called with the listed arguments (see the class
example
).
public static void trace(String description, Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3)
methodName
which was called with the listed arguments (see the class
example
).
public static void trace(String description, Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3, Object arg4)
methodName
which was called with the listed arguments (see the class
example
).
public static void trace(String description, Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5)
methodName
which was called with the listed arguments (see the class
example
).
public static void warning(String description, Object thisOrClass, String methodName)
methodName
(see the Log
class example
).
public static void warning(String description, Object thisOrClass, String methodName, Object arg1)
methodName
which was called with
the listed arguments (see the Log class example
).
public static void warning(String description, Object thisOrClass, String methodName, Object arg1, Object arg2)
methodName
which was called with
the listed arguments (see the Log class example
).
public static void warning(String description, Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3)
methodName
which was called with
the listed arguments (see the Log class example
).
public static void warning(String description, Object thisOrClass, String methodName, Object arg1, Object arg2, Object arg3, Object arg4)
methodName
which was called with
the listed arguments (see the Log class example
).
public static Logger getLogger()
public static void emptyCatchBlock(Throwable t)
public static Logger getLogger(Class c)
public static String toString(Throwable t)
|
Protege 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |