Package org.jboss.modules.log
Class JDKModuleLogger
java.lang.Object
org.jboss.modules.log.JDKModuleLogger
- All Implemented Interfaces:
ModuleLogger
A
ModuleLogger
which logs to a JDK logging category.- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new instance using the categoryorg.jboss.modules
.JDKModuleLogger
(String category) Construct a new instance.JDKModuleLogger
(Logger logger, Logger defineLogger) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
classDefined
(String name, Module module) void
classDefineFailed
(Throwable throwable, String className, Module module) void
greeting()
void
moduleDefined
(String name, ModuleLoader moduleLoader) void
void
void
void
void
void
void
void
void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.modules.log.ModuleLogger
moduleDefined
-
Constructor Details
-
JDKModuleLogger
Deprecated.UseJDKModuleLogger(String)
instead.Construct a new instance.- Parameters:
logger
- the main logger to write todefineLogger
- the main logger to write class-define-related trace messages to
-
JDKModuleLogger
Construct a new instance.- Parameters:
category
- the name of the logger category to write to
-
JDKModuleLogger
public JDKModuleLogger()Construct a new instance using the categoryorg.jboss.modules
.
-
-
Method Details
-
trace
- Specified by:
trace
in interfaceModuleLogger
-
trace
- Specified by:
trace
in interfaceModuleLogger
-
trace
- Specified by:
trace
in interfaceModuleLogger
-
trace
- Specified by:
trace
in interfaceModuleLogger
-
trace
- Specified by:
trace
in interfaceModuleLogger
-
trace
- Specified by:
trace
in interfaceModuleLogger
-
trace
- Specified by:
trace
in interfaceModuleLogger
-
trace
- Specified by:
trace
in interfaceModuleLogger
-
trace
- Specified by:
trace
in interfaceModuleLogger
-
trace
- Specified by:
trace
in interfaceModuleLogger
-
greeting
public void greeting()- Specified by:
greeting
in interfaceModuleLogger
-
moduleDefined
- Specified by:
moduleDefined
in interfaceModuleLogger
-
classDefineFailed
- Specified by:
classDefineFailed
in interfaceModuleLogger
-
classDefined
- Specified by:
classDefined
in interfaceModuleLogger
-
JDKModuleLogger(String)
instead.