view src/goodjava/logging/Logger.java @ 2035:00bbfef1a86b acme-tiny

added Thread.try_synchronized
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 05 Nov 2025 11:20:47 -0700
parents 219f2b937f2b
children
line wrap: on
line source

package goodjava.logging;


public interface Logger {
	public void error(String msg);
	public void error(String msg,Throwable t);
	public void warn(String msg);
	public void warn(String msg,Throwable t);
	public void info(String msg);
	public void info(String msg,Throwable t);
	public boolean isInfoEnabled();
	public void debug(String msg);
	public void debug(String msg,Throwable t);
	public boolean isDebugEnabled();
}