public class Logger extends Object
Constructor and Description |
---|
Logger() |
Modifier and Type | Method and Description |
---|---|
static void |
debug(Object o,
String message)
Post a debug message to the category for the class of the given object.
|
static void |
debug(Object o,
String message,
Throwable t)
Post a debug message to the category for the class of the given object.
|
static void |
debug(String category,
String message)
Post a debug message to the specified category.
|
static void |
debug(String category,
String message,
Throwable t)
Post a debug message to the specified category.
|
static void |
error(Object o,
String message)
Post an error message to the category for the class of the given object.
|
static void |
error(Object o,
String message,
Throwable t)
Post an error message to the category for the class of the given object.
|
static void |
error(String category,
String message)
Post an error message to the specified category.
|
static void |
error(String category,
String message,
Throwable t)
Post an error message to the specified category.
|
static void |
info(Object o,
String message)
Post an info message to the category for the class of the given object.
|
static void |
info(Object o,
String message,
Throwable t)
Post an info message to the category for the class of the given object.
|
static void |
info(String category,
String message)
Post an info message to the specified category.
|
static void |
info(String category,
String message,
Throwable t)
Post an info message to the specified category.
|
static boolean |
isDebugEnabled(Object o)
Check if debug logging is enabled.
|
static boolean |
isDebugEnabled(String category)
Check if debug logging is enabled.
|
static void |
main(String[] args)
A test routine.
|
static void |
warn(Object o,
String message)
Post a warning message to the category for the class of the given object.
|
static void |
warn(Object o,
String message,
Throwable t)
Post a warning message to the category for the class of the given object.
|
static void |
warn(String category,
String message)
Post a warning message to the specified category.
|
static void |
warn(String category,
String message,
Throwable t)
Post a warning message to the specified category.
|
public static boolean isDebugEnabled(String category)
public static boolean isDebugEnabled(Object o)
public static void debug(String category, String message)
public static void debug(String category, String message, Throwable t)
Throwable
can be passed and a stack trace will
be printed.public static void debug(Object o, String message)
public static void debug(Object o, String message, Throwable t)
Throwable
can be passed and a stack trace will
be printed.public static void info(String category, String message)
public static void info(String category, String message, Throwable t)
Throwable
can be passed and a stack trace will
be printed.public static void info(Object o, String message)
public static void info(Object o, String message, Throwable t)
Throwable
can be passed and a stack trace will
be printed.public static void warn(String category, String message)
public static void warn(String category, String message, Throwable t)
Throwable
can be passed and a stack trace will
be printed.public static void warn(Object o, String message)
public static void warn(Object o, String message, Throwable t)
Throwable
can be passed and a stack trace will
be printed.public static void error(String category, String message)
public static void error(String category, String message, Throwable t)
Throwable
can be passed and a stack trace will
be printed.public static void error(Object o, String message)
public static void error(Object o, String message, Throwable t)
Throwable
can be passed and a stack trace will
be printed.public static void main(String[] args)
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.