Top Description Fields Constructors Methods
org.jboss.modules.log

public final Class StreamModuleLogger

extends Object
implements ModuleLogger
Class Inheritance
All Implemented Interfaces
org.jboss.modules.log.ModuleLogger
Imports
java.io.File, .OutputStream, .PrintStream, org.jboss.modules.Module, .ModuleLoader

A ModuleLogger implementation that logs all output (including trace) to an output or print stream.
Authors
[email protected], David M. Lloyd

Field Summary

Modifier and TypeField and Description
private PrintStream

Constructor Summary

AccessConstructor and Description
public
StreamModuleLogger(PrintStream
the print stream to write to
stream
)

Construct a new instance.

public
StreamModuleLogger(OutputStream
the output stream to write to
stream
)

Construct a new instance.

Method Summary

Modifier and TypeMethod and Description
public void
public void
classDefineFailed(final Throwable throwable, final String className, final Module module)

Implements org.jboss.modules.log.ModuleLogger.classDefineFailed.

public void
public void
moduleDefined(final String name, final ModuleLoader moduleLoader)

Overrides default org.jboss.modules.log.ModuleLogger.moduleDefined.

public void
public void
public void
public void
public void
trace(final String format, final Object arg1)

Implements org.jboss.modules.log.ModuleLogger.trace.

public void
trace(final String format, final Object arg1, final Object arg2)

Implements org.jboss.modules.log.ModuleLogger.trace.

public void
trace(final String format, final Object arg1, final Object arg2, final Object arg3)

Implements org.jboss.modules.log.ModuleLogger.trace.

public void
trace(final String format, final Object... args)

Implements org.jboss.modules.log.ModuleLogger.trace.

public void
public void
trace(final Throwable t, final String format, final Object arg1)

Implements org.jboss.modules.log.ModuleLogger.trace.

public void
trace(final Throwable t, final String format, final Object arg1, final Object arg2)

Implements org.jboss.modules.log.ModuleLogger.trace.

public void
trace(final Throwable t, final String format, final Object arg1, final Object arg2, final Object arg3)

Implements org.jboss.modules.log.ModuleLogger.trace.

public void
trace(final Throwable t, final String format, final Object... args)

Implements org.jboss.modules.log.ModuleLogger.trace.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

printback to summary
private PrintStream print

Constructor Detail

StreamModuleLoggerback to summary
public StreamModuleLogger(PrintStream stream)

Construct a new instance.

Parameters
stream:PrintStream

the print stream to write to

StreamModuleLoggerback to summary
public StreamModuleLogger(OutputStream stream)

Construct a new instance.

Parameters
stream:OutputStream

the output stream to write to

Method Detail

classDefinedback to summary
public void classDefined(final String name, final Module module)

Implements org.jboss.modules.log.ModuleLogger.classDefined.

classDefineFailedback to summary
public void classDefineFailed(final Throwable throwable, final String className, final Module module)

Implements org.jboss.modules.log.ModuleLogger.classDefineFailed.

greetingback to summary
public void greeting()

Implements org.jboss.modules.log.ModuleLogger.greeting.

moduleDefinedback to summary
public void moduleDefined(final String name, final ModuleLoader moduleLoader)

Overrides default org.jboss.modules.log.ModuleLogger.moduleDefined.

overlayRootNotReadableback to summary
public void overlayRootNotReadable(File file)

Implements org.jboss.modules.log.ModuleLogger.overlayRootNotReadable.

Annotations
@Override
overlaysDirectoryNotReadableback to summary
public void overlaysDirectoryNotReadable(File file)

Implements org.jboss.modules.log.ModuleLogger.overlaysDirectoryNotReadable.

Annotations
@Override
overlaysMetadataNotReadableback to summary
public void overlaysMetadataNotReadable(File file)

Implements org.jboss.modules.log.ModuleLogger.overlaysMetadataNotReadable.

Annotations
@Override
traceback to summary
public void trace(final String message)

Implements org.jboss.modules.log.ModuleLogger.trace.

traceback to summary
public void trace(final String format, final Object arg1)

Implements org.jboss.modules.log.ModuleLogger.trace.

traceback to summary
public void trace(final String format, final Object arg1, final Object arg2)

Implements org.jboss.modules.log.ModuleLogger.trace.

traceback to summary
public void trace(final String format, final Object arg1, final Object arg2, final Object arg3)

Implements org.jboss.modules.log.ModuleLogger.trace.

traceback to summary
public void trace(final String format, final Object... args)

Implements org.jboss.modules.log.ModuleLogger.trace.

traceback to summary
public void trace(final Throwable t, final String message)

Implements org.jboss.modules.log.ModuleLogger.trace.

traceback to summary
public void trace(final Throwable t, final String format, final Object arg1)

Implements org.jboss.modules.log.ModuleLogger.trace.

traceback to summary
public void trace(final Throwable t, final String format, final Object arg1, final Object arg2)

Implements org.jboss.modules.log.ModuleLogger.trace.

traceback to summary
public void trace(final Throwable t, final String format, final Object arg1, final Object arg2, final Object arg3)

Implements org.jboss.modules.log.ModuleLogger.trace.

traceback to summary
public void trace(final Throwable t, final String format, final Object... args)

Implements org.jboss.modules.log.ModuleLogger.trace.