Package org.jboss.modules.log
Class StreamModuleLogger
java.lang.Object
org.jboss.modules.log.StreamModuleLogger
- All Implemented Interfaces:
ModuleLogger
A
ModuleLogger implementation that logs all output (including trace) to an output or print stream.- Author:
- thomas.diesler@jboss.com, David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionStreamModuleLogger(OutputStream stream) Construct a new instance.StreamModuleLogger(PrintStream stream) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidclassDefined(String name, Module module) voidclassDefineFailed(Throwable throwable, String className, Module module) voidgreeting()voidmoduleDefined(String name, ModuleLoader moduleLoader) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.modules.log.ModuleLogger
moduleDefined
-
Constructor Details
-
StreamModuleLogger
Construct a new instance.- Parameters:
stream- the print stream to write to
-
StreamModuleLogger
Construct a new instance.- Parameters:
stream- the output stream to write to
-
-
Method Details
-
trace
- Specified by:
tracein interfaceModuleLogger
-
trace
- Specified by:
tracein interfaceModuleLogger
-
trace
- Specified by:
tracein interfaceModuleLogger
-
trace
- Specified by:
tracein interfaceModuleLogger
-
trace
- Specified by:
tracein interfaceModuleLogger
-
trace
- Specified by:
tracein interfaceModuleLogger
-
trace
- Specified by:
tracein interfaceModuleLogger
-
trace
- Specified by:
tracein interfaceModuleLogger
-
trace
- Specified by:
tracein interfaceModuleLogger
-
trace
- Specified by:
tracein interfaceModuleLogger
-
greeting
public void greeting()- Specified by:
greetingin interfaceModuleLogger
-
moduleDefined
- Specified by:
moduleDefinedin interfaceModuleLogger
-
classDefineFailed
- Specified by:
classDefineFailedin interfaceModuleLogger
-
classDefined
- Specified by:
classDefinedin interfaceModuleLogger
-