askalon.graph.chartpack.saxmapper
Class SaxMapperLog

java.lang.Object
  extended byaskalon.graph.chartpack.saxmapper.SaxMapperLog

public class SaxMapperLog
extends java.lang.Object

Copyright (c) 2002 Thomas Fahringer, Institute for Software Science, University of Vienna, Austria

We provide the ASKALON Visualization Diagramm Class Library (below described as ASKALON") on an AS IS basis, and do not warrant its validity or performance. We reserve the right to update, modify, or discontinue this software at any time. We shall have no obligation to supply such updates or modifications or any other form of support to you.

This license is for research uses. For such uses, there is no charge. We define "research use" to mean you may freely use it inside your organization for whatever purposes you see fit. But you may not re-distribute ASKALON or parts of ASKALON, in any form source or binary (including derivatives), electronic or otherwise, to any other organization or entity without our permission. (for other uses, please contact us at tf@par.univie.ac.at)

All warranties, including without limitation, any warranty of merchantability or fitness for a particular purpose, are hereby excluded.

By your use of ASKALON, you understand and agree that we (or any other person or entity with proprietary rights in ASKALON) are under no obligation to provide either maintenance services, update services, notices of latent defects, or correction of defects for ASKALON.

Even if advised of the possibility of such damages, under no circumstances shall we (or any other person or entity with proprietary rights in the software licensed hereunder) be liable to you or any third party for direct, indirect, or consequential damages of any character regardless of type of action, including, without limitation, loss of profits, loss of use, loss of good will, or computer failure or malfunction. You agree to indemnify us (and any other person or entity with proprietary rights in the software licensed hereunder) for any and all liability it may incur to third parties resulting from your use of ASKALON.


SaxMapperLog logs data from the SaxMapper. Per default the logs are displayed on the standard output, but the output can be redirected into a file. Basic idea taken from JavaWorld/Robert Hustead: http://www.javaworld.com/javaworld/jw-08-2000/jw-0804-sax.html http://www.javaworld.com/javaworld/jw-10-2000/jw-1006-sax.html

Version:
$Revision: 1.8 $ / $Date: 2004/03/22 10:23:55 $.
Author:
Sascha Nemecek/9825915.

Constructor Summary
SaxMapperLog()
           
 
Method Summary
static void error(java.lang.String msg)
          Method to log error messages.
static void logToDefault()
          Initialises logging to the standard output.
static void logToFile(java.lang.String logfile)
          Initialises logging to a file.
static void trace(java.lang.String msg)
          Method to log trace messages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaxMapperLog

public SaxMapperLog()
Method Detail

error

public static void error(java.lang.String msg)
Method to log error messages. Error messages are also displayed at the standard error output.

Parameters:
msg - The error message to log.

logToDefault

public static void logToDefault()
Initialises logging to the standard output.


logToFile

public static void logToFile(java.lang.String logfile)
Initialises logging to a file. Per Default logs are only displayed on the standard output.

Parameters:
logfile - The file to log to.

trace

public static void trace(java.lang.String msg)
Method to log trace messages.

Parameters:
msg - The message to log.