⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 debugger.java

📁 OR Mapping工具
💻 JAVA
字号:
package org.ephman.abra.tools;import java.io.*;import java.util.*;/** * out put debug messages to out or log file as set up * @author Paul M. Bethe * @version 0.0.1 */public class Debugger {	public static final int ERROR = 0;	public static final int SHORT = 1;	public static final int VERBOSE = 2;	public static final int ALL = 3;	public static void init (int level) {		debuglevel = level;	}	static int debuglevel = SHORT;	public static void trace (String msg, int level) throws SchemaException {		if (level <= debuglevel) { // print			if (level == ERROR) {				System.err.println (msg);				throw new SchemaException ("current file", msg);			}			else				System.out.println (msg);		}	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -