com.applitools.eyes.NullLogHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-common-java3 Show documentation
Show all versions of eyes-common-java3 Show documentation
Common code for Applitools Eyes Java SDK projects
package com.applitools.eyes;
import com.applitools.eyes.logging.ClientEvent;
import com.applitools.eyes.logging.TraceLevel;
/**
* Ignores all log messages.
*/
public class NullLogHandler extends LogHandler {
public static final NullLogHandler instance = new NullLogHandler();
public NullLogHandler() {
super(TraceLevel.Notice);
}
@Override
public void onMessageInner(ClientEvent event) {
}
public void open() {
}
public void close() {
}
@Override
public boolean isOpen() {
return true;
}
@Override
public boolean equals(Object other) {
return other instanceof NullLogHandler;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy