DTDDoc
Class AntLogger

java.lang.Object
  extended by DTDDoc.Logger
      extended by DTDDoc.AntLogger

public class AntLogger
extends Logger

A logger that is logging through Ant's logging API.

Author:
Stefan Champailler schampailler_at_skynet_dot_be

Constructor Summary
AntLogger(org.apache.tools.ant.Task task)
           
 
Method Summary
 void error(java.lang.String msg)
          Logs an error message.
 void info(java.lang.String msg)
          Logs an informational message.
 void warn(java.lang.String msg)
          Logs a warning message.
 
Methods inherited from class DTDDoc.Logger
error
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntLogger

public AntLogger(org.apache.tools.ant.Task task)
Method Detail

warn

public void warn(java.lang.String msg)
Description copied from class: Logger
Logs a warning message. Such a message indicates a problem to the user. The problem doesn't affect the course of DTDDoc but is worth noting because it's the result of a an action or the data of the user.

Specified by:
warn in class Logger
Parameters:
msg - Message to log.

error

public void error(java.lang.String msg)
Description copied from class: Logger
Logs an error message. Such a message indicates something wrong happened inside DTDDoc. This thing may affect the course of execution of DTDDoc. That is, if it happens, the result of the execution is not guaranteed.

Specified by:
error in class Logger
Parameters:
msg - Message to log.

info

public void info(java.lang.String msg)
Description copied from class: Logger
Logs an informational message. Such a message never indicates a problem to the user.

Specified by:
info in class Logger
Parameters:
msg - Message to log.


Copyright © 2002-2011 DTDDoc. All Rights Reserved.