
org.slf4j.XLogger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of slf4j-plus Show documentation
Show all versions of slf4j-plus Show documentation
SLF4J extended implementation
The newest version!
/*
* Copyright 2015-2017 the original author or authors.
*
* 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 org.slf4j;
/**
* Custom {@link Logger}
*/
public interface XLogger extends Logger {
/**
* Is log enabled?
*
* @return {@code true} if enabled
*/
boolean isLogEnabled();
/**
* Is log enabled?
*
* @param marker {@link Marker}
* @return {@code true} if enabled
*/
boolean isLogEnabled(Marker marker);
/**
* Trace
*
* @param t {@link Throwable}
*/
void trace(Throwable t);
/**
* Trace
*
* @param marker {@link Marker}
* @param t {@link Throwable}
*/
void trace(Marker marker, Throwable t);
/**
* Debug
*
* @param t {@link Throwable}
*/
void debug(Throwable t);
/**
* Debug
*
* @param marker {@link Marker}
* @param t {@link Throwable}
*/
void debug(Marker marker, Throwable t);
/**
* Info
*
* @param t {@link Throwable}
*/
void info(Throwable t);
/**
* Info
*
* @param marker {@link Marker}
* @param t {@link Throwable}
*/
void info(Marker marker, Throwable t);
/**
* Warn
*
* @param t {@link Throwable}
*/
void warn(Throwable t);
/**
* Warn
*
* @param marker {@link Marker}
* @param t {@link Throwable}
*/
void warn(Marker marker, Throwable t);
/**
* Error
*
* @param t {@link Throwable}
*/
void error(Throwable t);
/**
* Error
*
* @param marker {@link Marker}
* @param t {@link Throwable}
*/
void error(Marker marker, Throwable t);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy