ModuleLogger
public final class JDKModuleLogger extends Object implements ModuleLogger
ModuleLogger
which logs to a JDK logging category.Constructor | Description |
---|---|
JDKModuleLogger() |
Construct a new instance using the category
org.jboss.modules . |
JDKModuleLogger(String category) |
Construct a new instance.
|
JDKModuleLogger(Logger logger,
Logger defineLogger) |
Deprecated.
Use
JDKModuleLogger(String) instead. |
Modifier and Type | Method | Description |
---|---|---|
void |
classDefined(String name,
Module module) |
|
void |
classDefineFailed(Throwable throwable,
String className,
Module module) |
|
void |
greeting() |
|
void |
jaxpClassLoaded(Class<?> jaxpClass,
Module module) |
|
void |
jaxpResourceLoaded(URL resourceURL,
Module module) |
|
void |
moduleDefined(String name,
ModuleLoader moduleLoader) |
|
void |
providerUnloadable(String name,
ClassLoader loader) |
|
void |
trace(String message) |
|
void |
trace(String format,
Object arg1) |
|
void |
trace(String format,
Object... args) |
|
void |
trace(String format,
Object arg1,
Object arg2) |
|
void |
trace(String format,
Object arg1,
Object arg2,
Object arg3) |
|
void |
trace(Throwable t,
String message) |
|
void |
trace(Throwable t,
String format,
Object arg1) |
|
void |
trace(Throwable t,
String format,
Object... args) |
|
void |
trace(Throwable t,
String format,
Object arg1,
Object arg2) |
|
void |
trace(Throwable t,
String format,
Object arg1,
Object arg2,
Object arg3) |
moduleDefined
@Deprecated public JDKModuleLogger(Logger logger, Logger defineLogger)
JDKModuleLogger(String)
instead.logger
- the main logger to write todefineLogger
- the main logger to write class-define-related trace messages topublic JDKModuleLogger(String category)
category
- the name of the logger category to write topublic JDKModuleLogger()
org.jboss.modules
.public void trace(String message)
trace
in interface ModuleLogger
public void trace(String format, Object arg1)
trace
in interface ModuleLogger
public void trace(String format, Object arg1, Object arg2)
trace
in interface ModuleLogger
public void trace(String format, Object arg1, Object arg2, Object arg3)
trace
in interface ModuleLogger
public void trace(String format, Object... args)
trace
in interface ModuleLogger
public void trace(Throwable t, String message)
trace
in interface ModuleLogger
public void trace(Throwable t, String format, Object arg1)
trace
in interface ModuleLogger
public void trace(Throwable t, String format, Object arg1, Object arg2)
trace
in interface ModuleLogger
public void trace(Throwable t, String format, Object arg1, Object arg2, Object arg3)
trace
in interface ModuleLogger
public void trace(Throwable t, String format, Object... args)
trace
in interface ModuleLogger
public void greeting()
greeting
in interface ModuleLogger
public void moduleDefined(String name, ModuleLoader moduleLoader)
moduleDefined
in interface ModuleLogger
public void classDefineFailed(Throwable throwable, String className, Module module)
classDefineFailed
in interface ModuleLogger
public void classDefined(String name, Module module)
classDefined
in interface ModuleLogger
public void providerUnloadable(String name, ClassLoader loader)
providerUnloadable
in interface ModuleLogger
public void jaxpClassLoaded(Class<?> jaxpClass, Module module)
jaxpClassLoaded
in interface ModuleLogger
public void jaxpResourceLoaded(URL resourceURL, Module module)
jaxpResourceLoaded
in interface ModuleLogger
Copyright © 2018 JBoss by Red Hat. All rights reserved.