org.encog.plugin
Interface EncogPluginLogging1

All Superinterfaces:
EncogPluginBase
All Known Implementing Classes:
SystemLoggingPlugin

public interface EncogPluginLogging1
extends EncogPluginBase

A plugin that supports logging. This is a version 1 plugin.


Field Summary
 
Fields inherited from interface org.encog.plugin.EncogPluginBase
TYPE_LOGGING, TYPE_SERVICE
 
Method Summary
 int getLogLevel()
           
 void log(int level, String message)
          Log a message at the specified level.
 void log(int level, Throwable t)
          Log a throwable at the specified level.
 
Methods inherited from interface org.encog.plugin.EncogPluginBase
getPluginDescription, getPluginName, getPluginServiceType, getPluginType
 

Method Detail

getLogLevel

int getLogLevel()
Returns:
The current log level.

log

void log(int level,
         String message)
Log a message at the specified level.

Parameters:
level - The level to log at.
message - The message to log.

log

void log(int level,
         Throwable t)
Log a throwable at the specified level.

Parameters:
level - The level to log at.
t - The error to log.


Copyright © 2014. All Rights Reserved.