
com.jianggujin.logging.nologging.JNoLoggingImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JLogging Show documentation
Show all versions of JLogging Show documentation
Java日志工具,自动加载已有的日志包,相当于日志工具的适配器
The newest version!
/**
* Copyright 2018 jianggujin (www.jianggujin.com).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.jianggujin.logging.nologging;
import com.jianggujin.logging.JLog;
/**
* 无日志
*
* @author jianggujin
*
*/
public class JNoLoggingImpl implements JLog {
public JNoLoggingImpl(String clazz) {
}
public boolean isDebugEnabled() {
return false;
}
public boolean isTraceEnabled() {
return false;
}
public void error(String s, Throwable e) {
}
public void error(String s) {
}
public void debug(String s) {
}
public void trace(String s) {
}
public void warn(String s) {
}
public void info(String s) {
}
public void debug(String s, Throwable e) {
}
public void trace(String s, Throwable e) {
}
public void warn(String s, Throwable e) {
}
public void info(String s, Throwable e) {
}
public boolean isErrorEnabled() {
return false;
}
public boolean isInfoEnabled() {
return false;
}
public boolean isWarnEnabled() {
return false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy