You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
563 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package logger;
/**
* 具体产品:控制台日志记录器 实现Logger接口负责将日志输出到控制台
* @author <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* @version 1.0
* @created 26-10<31><30>-2025 22:36:06
*/
public class ConsoleLogger implements Logger {
public ConsoleLogger(){
}
public void finalize() throws Throwable {
}
/**
* 记录日志到控制台
*
* @param message 日志消息
*/
@Override
public void log(String message){
System.out.println("[控制台日志] " + message);
}
}//end ConsoleLogger