net.directj.jlogger
Class XmlLogManager

java.lang.Object
  |
  +--net.directj.jlogger.LogManager
        |
        +--net.directj.jlogger.XmlLogManager

public class XmlLogManager
extends LogManager

This class is a xml log manager, with special output and formatter for creating an xml file.

Version:
0.1.3
Author:
CARTAPANIS Alexandre <earendil@jprolog.net>

Field Summary
private static Formatter xmlFormat
          The formatter.
 
Fields inherited from class net.directj.jlogger.LogManager
 
Constructor Summary
XmlLogManager(int _level)
          Creates a new XmlLogManager, with the specified logging level.
XmlLogManager(int _level, java.lang.String _name)
          Creates a new XmlLogManager, with the specified logging level.
XmlLogManager(int _level, java.lang.String _name, boolean _append)
          Creates a new XmlLogManager, with the specified logging level.
 
Methods inherited from class net.directj.jlogger.LogManager
equals, hashCode, log
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlFormat

private static Formatter xmlFormat
The formatter.

Constructor Detail

XmlLogManager

public XmlLogManager(int _level)
Creates a new XmlLogManager, with the specified logging level.

Parameters:
_level - The logging level.

XmlLogManager

public XmlLogManager(int _level,
                     java.lang.String _name)
Creates a new XmlLogManager, with the specified logging level. You also can specify the xml file name (don't forget the .xml extension).

Parameters:
_level - The logging level.
_name - The file name.

XmlLogManager

public XmlLogManager(int _level,
                     java.lang.String _name,
                     boolean _append)
Creates a new XmlLogManager, with the specified logging level. You also can specify the xml file name (don't forget the .xml extension).

Parameters:
_level - The logging level.
_name - The file name.
_append - Indicates if we append the output to the file or create a new one.


Copyright © 2002 CARTAPANIS Alexandre
This page was last updated on May 10 2003