]>
git.argeo.org Git - gpl/argeo-tp.git/blob - ArgeoLogger.java
5c4889aedc8e57e606484519a34e84ca6c630b98
1 package org
.slf4j
.impl
;
3 import org
.slf4j
.helpers
.MarkerIgnoringBase
;
5 class ArgeoLogger
extends MarkerIgnoringBase
{
6 private static final long serialVersionUID
= -7719157836932627307L;
7 private final SystemLoggingAdapter log
;
9 protected ArgeoLogger(String name
, SystemLoggingAdapter log
) {
15 public boolean isDebugEnabled() {
16 return log
.isDebugEnabled();
20 public boolean isTraceEnabled() {
21 return log
.isDebugEnabled();
25 public void trace(String msg
) {
31 public void trace(String format
, Object
... arguments
) {
32 log
.trace(format
, arguments
);
37 public void trace(String msg
, Throwable t
) {
43 public void debug(String msg
) {
49 public void debug(String format
, Object
... arguments
) {
50 log
.debug(format
, arguments
);
55 public void debug(String msg
, Throwable t
) {
61 public boolean isInfoEnabled() {
62 return log
.isInfoEnabled();
66 public void info(String msg
) {
72 public void info(String format
, Object
... arguments
) {
73 log
.info(format
, arguments
);
77 public void info(String msg
, Throwable t
) {
83 public boolean isWarnEnabled() {
84 return log
.isWarnEnabled();
88 public void warn(String msg
) {
94 public void warn(String format
, Object
... arguments
) {
95 log
.warn(format
, arguments
);
100 public void warn(String msg
, Throwable t
) {
106 public boolean isErrorEnabled() {
108 return log
.isErrorEnabled();
112 public void error(String msg
) {
118 public void error(String format
, Object
... arguments
) {
119 log
.error(format
, arguments
);
124 public void error(String msg
, Throwable t
) {
130 public void trace(String format
, Object arg
) {
131 trace(format
, new Object
[] { arg
});
136 public void trace(String format
, Object arg1
, Object arg2
) {
137 trace(format
, new Object
[] { arg1
, arg2
});
141 public void debug(String format
, Object arg
) {
142 debug(format
, new Object
[] { arg
});
146 public void debug(String format
, Object arg1
, Object arg2
) {
147 debug(format
, new Object
[] { arg1
, arg2
});
151 public void info(String format
, Object arg
) {
152 info(format
, new Object
[] { arg
});
156 public void info(String format
, Object arg1
, Object arg2
) {
157 info(format
, new Object
[] { arg1
, arg2
});
161 public void warn(String format
, Object arg
) {
162 warn(format
, new Object
[] { arg
});
166 public void warn(String format
, Object arg1
, Object arg2
) {
167 warn(format
, new Object
[] { arg1
, arg2
});
171 public void error(String format
, Object arg
) {
172 error(format
, new Object
[] { arg
});
176 public void error(String format
, Object arg1
, Object arg2
) {
177 error(format
, new Object
[] { arg1
, arg2
});