org.radrails.rails.core
Class RailsLog

java.lang.Object
  extended byorg.radrails.rails.core.RailsLog
Direct Known Subclasses:
DatabaseLog, RailsUILog, ServerLog, ServerUILog

public class RailsLog
extends java.lang.Object

Logs operations for the Rails plugins.

Version:
0.3.1
Author:
mkent

Constructor Summary
RailsLog()
           
 
Method Summary
static void logError(java.lang.String message, java.lang.Throwable e)
          Logs a message and exception with severity ERROR.
static void logInfo(java.lang.String message, java.lang.Throwable e)
          Logs a message and exception with severity INFO.
static void logWarning(java.lang.String message, java.lang.Throwable e)
          Logs a message and exception with severity WARNING.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RailsLog

public RailsLog()
Method Detail

logInfo

public static void logInfo(java.lang.String message,
                           java.lang.Throwable e)
Logs a message and exception with severity INFO.

Parameters:
message - - the message to log
e - - the exception to log

logWarning

public static void logWarning(java.lang.String message,
                              java.lang.Throwable e)
Logs a message and exception with severity WARNING.

Parameters:
message - - the message to log
e - - the exception to log

logError

public static void logError(java.lang.String message,
                            java.lang.Throwable e)
Logs a message and exception with severity ERROR.

Parameters:
message - - the message to log
e - - the exception to log