Documentation of 'org.encog.plugin.system.SystemLoggingPlugin' Java class
SystemLoggingPlugin
org.encog.plugin.system

Class SystemLoggingPlugin

    • Constructor Detail

      • SystemLoggingPlugin

        public SystemLoggingPlugin()
    • Method Detail

      • getStackTrace

        public static java.lang.String getStackTrace(java.lang.Throwable aThrowable)
        Create a stack trace.
        Parameters:
        aThrowable - The throwable to create the trace for.
        Returns:
        The stack trace as a string.
      • getPluginDescription

        public final java.lang.String getPluginDescription()
        Specified by:
        getPluginDescription in interface EncogPluginBase
        Returns:
        The plugin description.
      • getPluginName

        public final java.lang.String getPluginName()
        Specified by:
        getPluginName in interface EncogPluginBase
        Returns:
        The name of the plugin.
      • getPluginType

        public final int getPluginType()
        Specified by:
        getPluginType in interface EncogPluginBase
        Returns:
        This is a type-1 plugin.
      • log

        public final void log(int level,
                              java.lang.String message)
        Log the message.
        Specified by:
        log in interface EncogPluginLogging1
        Parameters:
        level - The logging level.
        message - The logging message.
      • log

        public final void log(int level,
                              java.lang.Throwable t)
        Log a throwable at the specified level.
        Specified by:
        log in interface EncogPluginLogging1
        Parameters:
        level - The level to log at.
        t - The error to log.
      • setLogLevel

        public final void setLogLevel(int level)
        Set the logging level.
        Parameters:
        level - The logging level.
      • startConsoleLogging

        public final void startConsoleLogging()
        Start logging to the console.
      • stopLogging

        public final void stopLogging()
        Stop any console or file logging.
      • getPluginServiceType

        public int getPluginServiceType()
        Specified by:
        getPluginServiceType in interface EncogPluginBase
        Returns:
        The service type provided by this plugin.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.