org.universAAL.context.che
Class Hub.Log

Package class diagram package Hub.Log
java.lang.Object
  extended by org.universAAL.context.che.Hub.Log
Enclosing class:
Hub

public static class Hub.Log
extends Object

helper class to simplify the calls to LogUtils of MW.

Author:
alfiva

Constructor Summary
Hub.Log(Class cl)
          Main constructor.
 
Method Summary
 void debug(String method, String msg)
          LogUtils.debug.
 void debug(String method, String msg, Throwable e)
          LogUtils.debug.
 void error(String method, String msg)
          LogUtils.error.
 void error(String method, String msg, Throwable e)
          LogUtils.error.
 void info(String method, String msg)
          LogUtils.info.
 void info(String method, String msg, Throwable e)
          LogUtils.info.
 void warn(String method, String msg)
          LogUtils.warn.
 void warn(String method, String msg, Throwable e)
          LogUtils.warn.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hub.Log

public Hub.Log(Class cl)
Main constructor.

Parameters:
cl - Class that asks for a logger
Method Detail

info

public void info(String method,
                 String msg)
LogUtils.info.

Parameters:
method - Method that logs
msg - Message to log

debug

public void debug(String method,
                  String msg)
LogUtils.debug.

Parameters:
method - Method that logs
msg - Message to log

warn

public void warn(String method,
                 String msg)
LogUtils.warn.

Parameters:
method - Method that logs
msg - Message to log

error

public void error(String method,
                  String msg)
LogUtils.error.

Parameters:
method - Method that logs
msg - Message to log

info

public void info(String method,
                 String msg,
                 Throwable e)
LogUtils.info.

Parameters:
method - Method that logs
msg - Message to log
e - Throwable

debug

public void debug(String method,
                  String msg,
                  Throwable e)
LogUtils.debug.

Parameters:
method - Method that logs
msg - Message to log
e - Throwable

warn

public void warn(String method,
                 String msg,
                 Throwable e)
LogUtils.warn.

Parameters:
method - Method that logs
msg - Message to log
e - Throwable

error

public void error(String method,
                  String msg,
                  Throwable e)
LogUtils.error.

Parameters:
method - Method that logs
msg - Message to log
e - Throwable


Copyright © 2014 universAAL Consortium. All Rights Reserved.