org.encog.util.logging
Class Logging

java.lang.Object
  extended by org.encog.util.logging.Logging

public final class Logging
extends Object

Provides simple logging access to the JDK logging system. Encog uses slf4j to abstract which log it uses. However, by default Encog uses JDK logging. This class can be used to manage JDK logging.

Author:
jheaton

Method Summary
static void allConsoleLogging()
          Log everything to the console.
static Handler getConsoleHandler()
           
static Logger getRootLogger()
           
static void setConsoleLevel(Level level)
          Set the logging level for console.
static void stopConsoleLogging()
          Stop logging to the console.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

allConsoleLogging

public static void allConsoleLogging()
Log everything to the console.


getConsoleHandler

public static Handler getConsoleHandler()
Returns:
The handler for the console logger.

getRootLogger

public static Logger getRootLogger()
Returns:
The root logger.

setConsoleLevel

public static void setConsoleLevel(Level level)
Set the logging level for console.

Parameters:
level - The logging level.

stopConsoleLogging

public static void stopConsoleLogging()
Stop logging to the console.



Copyright © 2011. All Rights Reserved.