org.dmonix.io
Class StackTraceLogger

java.lang.Object
  extended byorg.dmonix.io.StackTraceLogger

public class StackTraceLogger
extends java.lang.Object

This is a singleton class enabling the logging of stacktraces to file.
The default file used is user.home/stacktrace.log

Copyright: Copyright (c) 2003

Company: dmonix.org

Version:
1.0
Author:
Peter Nerg

Method Summary
static java.io.PrintStream getStackTraceLoggerStream()
           
static void setLogFile(java.io.File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setLogFile

public static void setLogFile(java.io.File f)

getStackTraceLoggerStream

public static java.io.PrintStream getStackTraceLoggerStream()
                                                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © 1998-2005 dmonix.org Peter Nerg, All Rights Reserved.