public interface LoggerFactoryIF
Modifier and Type | Method and Description |
---|---|
void |
configLogger(XSDContextIF ctx,
java.util.logging.Logger logger,
Loghandler descriptor,
boolean clear)
Configure a logger using the tag descriptor of an xml tree.
|
java.util.logging.Handler |
createLogHandler(XSDContextIF ctx,
ImplementationIF hdl,
ImplementationIF fmt,
ImplementationIF fil)
Create a log handler.
|
java.util.logging.Handler |
createLogHandler(XSDContextIF ctx,
Loghandler logDescriptor)
Create a log handler that is described by the descriptor.
|
java.io.OutputStream |
getOutputStream(XSDContextIF ctx,
File fileDesc)
Open a output stream according to the file specification of a XML tree.
|
void configLogger(XSDContextIF ctx, java.util.logging.Logger logger, Loghandler descriptor, boolean clear) throws java.io.FileNotFoundException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.Exception
ctx
- The context.logger
- the logger to be configured.descriptor
- the logger descriptor.java.io.FileNotFoundException
- If the optional jar wa not found.java.io.IOException
- if the optional jar cannot be read.java.lang.ClassNotFoundException
- if a class was not found.java.lang.InstantiationException
- If it not possible to instantiate a class.java.lang.IllegalAccessException
- If it is not allowed to access the class.java.lang.Exception
- if the implementation has a problem with the arguments.java.util.logging.Handler createLogHandler(XSDContextIF ctx, Loghandler logDescriptor) throws java.io.FileNotFoundException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.Exception
ctx
- The context.logDescriptor
- the descriptor of the handler.java.io.FileNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.Exception
java.util.logging.Handler createLogHandler(XSDContextIF ctx, ImplementationIF hdl, ImplementationIF fmt, ImplementationIF fil)
ctx
- The context.hdl
- the handler implementationfmt
- the format implementationfil
- the filter implementation.java.io.OutputStream getOutputStream(XSDContextIF ctx, File fileDesc) throws java.io.IOException
ctx
- the contextfileDesc
- the file specificationjava.io.IOException