mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
updated EntgraLogger methods (#30)
Co-authored-by: Amalka Subasinghe <amalkasubasinghe@gmail.com> Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io> Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/30 Co-authored-by: Amalka Subasinghe <amalka@entgra.io> Co-committed-by: Amalka Subasinghe <amalka@entgra.io>
This commit is contained in:
parent
6d72292789
commit
458ab34269
@ -51,7 +51,7 @@
|
|||||||
<Bundle-Description>Entgra Logger Bundle</Bundle-Description>
|
<Bundle-Description>Entgra Logger Bundle</Bundle-Description>
|
||||||
<Import-Package>
|
<Import-Package>
|
||||||
io.entgra.device.mgt.extensions.logger,
|
io.entgra.device.mgt.extensions.logger,
|
||||||
org.apache.commons.logging;version="[1.2,2)
|
org.apache.commons.logging
|
||||||
</Import-Package>
|
</Import-Package>
|
||||||
<Export-Package>
|
<Export-Package>
|
||||||
io.entgra.device.mgt.extensions.logger.*
|
io.entgra.device.mgt.extensions.logger.*
|
||||||
|
|||||||
@ -24,57 +24,29 @@ import org.apache.commons.logging.Log;
|
|||||||
|
|
||||||
public interface EntgraLogger extends Log {
|
public interface EntgraLogger extends Log {
|
||||||
|
|
||||||
void info(String message);
|
void info(Object object, LogContext logContext);
|
||||||
|
|
||||||
void info(String message, Throwable t);
|
void info(Object object, Throwable t, LogContext logContext);
|
||||||
|
|
||||||
void info(String message, LogContext logContext);
|
void debug(Object object, LogContext logContext);
|
||||||
|
|
||||||
void debug(String message);
|
void debug(Object object, Throwable t, LogContext logContext);
|
||||||
|
|
||||||
void debug(String message, Throwable t);
|
void error(Object object, LogContext logContext);
|
||||||
|
|
||||||
void debug(String message, LogContext logContext);
|
void error(Object object, Throwable t, LogContext logContext);
|
||||||
|
|
||||||
void error(String message);
|
void fatal(Object object, LogContext logContext);
|
||||||
|
|
||||||
void error(String message, Throwable t);
|
void fatal(Object object, Throwable t, LogContext logContext);
|
||||||
|
|
||||||
void error(String message, LogContext logContext);
|
void trace(Object object, LogContext logContext);
|
||||||
|
|
||||||
void error(String message, Throwable t, LogContext logContext);
|
void trace(Object object, Throwable t, LogContext logContext);
|
||||||
|
|
||||||
void warn(String message);
|
void warn(Object object, LogContext logContext);
|
||||||
|
|
||||||
void warn(String message, Throwable t);
|
void warn(Object object, Throwable t, LogContext logContext);
|
||||||
|
|
||||||
void warn(String message, LogContext logContext);
|
|
||||||
|
|
||||||
void warn(String message, Throwable t, LogContext logContext);
|
|
||||||
|
|
||||||
void trace(String message);
|
|
||||||
|
|
||||||
void trace(String message, Throwable t);
|
|
||||||
|
|
||||||
void trace(String message, LogContext logContext);
|
|
||||||
|
|
||||||
void fatal(String message);
|
|
||||||
|
|
||||||
void fatal(String message, Throwable t);
|
|
||||||
|
|
||||||
void fatal(String message, LogContext logContext);
|
|
||||||
|
|
||||||
boolean isDebugEnabled();
|
|
||||||
|
|
||||||
boolean isErrorEnabled();
|
|
||||||
|
|
||||||
boolean isFatalEnabled();
|
|
||||||
|
|
||||||
boolean isInfoEnabled();
|
|
||||||
|
|
||||||
boolean isTraceEnabled();
|
|
||||||
|
|
||||||
boolean isWarnEnabled();
|
|
||||||
|
|
||||||
void clearLogContext();
|
void clearLogContext();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user