org.beigesoft.alog.ILogger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of a-jetty-base Show documentation
Show all versions of a-jetty-base Show documentation
A-Jetty Base can run on Android Java as well as on standard Java 7+ and it can run precompiled JSP/JSTL.
package org.beigesoft.alog;
/*
* Beigesoft ™
*
* Licensed under the Apache License, Version 2.0
*
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
/**
* Abstraction of nonstatic (memory-friendly) Logger,
* that must work also on Android debug logging (sls4j can't).
*
* @author Yury Demidenko
*/
public interface ILogger {
/**
* Make debug log.
* @param pClazz of debudgged bean
* @param pMsg message
**/
void debug(Class> pClazz, String pMsg);
/**
* Make info log.
* @param pClazz of bean
* @param pMsg message
**/
void info(Class> pClazz, String pMsg);
/**
* Make error log.
* @param pClazz of bean
* @param pMsg message
**/
void error(Class> pClazz, String pMsg);
/**
* Make warn log.
* @param pClazz of bean
* @param pMsg message
**/
void warn(Class> pClazz, String pMsg);
/**
* Set is show debug messages.
* @param pIsShowDebugMessage is show debug messages?
**/
void setIsShowDebugMessages(boolean pIsShowDebugMessage);
/**
* Get is show debug messages.
* @return is show debug messages?
**/
boolean getIsShowDebugMessages();
}