📄 mfilelogger.java
字号:
package net.jumperz.util;
import java.io.*;
public class MFileLogger
{
private static final MFileLogger instance = new MFileLogger();
private static boolean configured = false;
//--------------------------------------------------------------------------------
public static void loadConfig( String configFileName )
{
configured = true;
}
//--------------------------------------------------------------------------------
public static void log( CharSequence message )
throws IOException
{
if( configured == false )
{
throw new IOException( "Not yet configured." );
}
}
//--------------------------------------------------------------------------------
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -