com.oanda.fxtrade.api
Class Trace

java.lang.Object
  extended by java.util.Observable
      extended by com.oanda.fxtrade.api.Trace

public final class Trace
extends java.util.Observable

A simple tool to control debug output


Nested Class Summary
static class Trace.LogFormatter
           
 
Method Summary
 boolean getDebug()
           
 boolean getDebugError()
           
 boolean getDebugNetwork()
           
 boolean getDebugNetworkFull()
           
static Trace getInstance()
           
static void initDefaultLogging()
           
 void setDebug(boolean state)
           
 void setDebugError(boolean state)
           
 void setDebugNetwork(boolean state)
           
 void setDebugNetworkFull(boolean state)
           
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Trace getInstance()

initDefaultLogging

public static void initDefaultLogging()

setDebug

public void setDebug(boolean state)

getDebug

public boolean getDebug()

setDebugError

public void setDebugError(boolean state)

getDebugError

public boolean getDebugError()

setDebugNetwork

public void setDebugNetwork(boolean state)

getDebugNetwork

public boolean getDebugNetwork()

setDebugNetworkFull

public void setDebugNetworkFull(boolean state)

getDebugNetworkFull

public boolean getDebugNetworkFull()


Copyright © 2005 OANDA Corporation. All Rights Reserved.