mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -90,7 +90,7 @@ public class ConsoleColorLog extends ConsoleLog {
|
||||
|
||||
@Override
|
||||
public synchronized void log(final String fqcn, final Level level, final Throwable t, final String format, final Object... arguments) {
|
||||
if (false == isEnabled(level)) {
|
||||
if (! isEnabled(level)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -128,7 +128,7 @@ public class ConsoleLog extends AbstractLog {
|
||||
@Override
|
||||
public void log(final String fqcn, final Level level, final Throwable t, final String format, final Object... arguments) {
|
||||
// fqcn 无效
|
||||
if (false == isEnabled(level)) {
|
||||
if (! isEnabled(level)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -43,7 +43,7 @@ public class Slf4jLogFactory extends LogFactory {
|
||||
public Slf4jLogFactory(final boolean failIfNOP) {
|
||||
super("Slf4j");
|
||||
checkLogExist(LoggerFactory.class);
|
||||
if(false == failIfNOP){
|
||||
if(! failIfNOP){
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user