📄 stderrstrategy.java
字号:
/************************************************* * * = PACKAGE * netsvcs.Logger * * = FILENAME * DefaultLMR.java * * *@author Everett Anderson * *************************************************/package JACE.netsvcs.Logger;import java.io.*;/** * Default LoggingStrategy for the logging service. This prints out the * LogRecord on the System.err stream. * * @see JACE.netsvcs.Logger.LogRecord */public class StderrStrategy implements LoggingStrategy{ /** * Process the given LogRecord by printing it on the System.err stream. * *@param hostname host from which this LogRecord originated *@param record LogRecord instance to process */ public void logRecord (String hostname, LogRecord record) { record.print(hostname, true, System.err); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -