mx4j.log

Class FileLogger


public class FileLogger
extends Logger

This logger logs to a file.

It's used by the ModelMBean implementation.
Since the constructor takes a parameter, cannot be used as prototype for logging redirection.

Version:
$Revision: 1.5 $

Field Summary

Fields inherited from class mx4j.log.Logger

DEBUG, ERROR, FATAL, INFO, TRACE, WARN

Constructor Summary

FileLogger(String location)

Method Summary

protected void
log(int priority, Object message, Throwable t)

Methods inherited from class mx4j.log.Logger

debug, debug, error, error, fatal, fatal, getCategory, getPriority, info, info, isEnabledFor, log, setCategory, setPriority, trace, trace, warn, warn

Constructor Details

FileLogger

public FileLogger(String location)

Method Details

log

protected void log(int priority,
                   Object message,
                   Throwable t)
Overrides:
log in interface Logger

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.