亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? standardlogger.java

?? mysql jdbc驅動程序 mysql jdbc驅動程序 mysql jdbc驅動程序 mysql jdbc驅動程序
?? JAVA
字號:
/* Copyright (C) 2002-2004 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as  published by the Free Software Foundation. There are special exceptions to the terms and conditions of the GPL  as it is applied to this software. View the full text of the  exception in file EXCEPTIONS-CONNECTOR-J in the directory of this  software distribution. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */package com.mysql.jdbc.log;import com.mysql.jdbc.Util;import com.mysql.jdbc.profiler.ProfilerEvent;import java.util.Date;/** * Provides logging facilities for those platforms that don't have built-in * facilities. Simply logs messages to STDERR. *  * @author Mark Matthews *  * @version $Id: StandardLogger.java 4597 2005-11-22 21:13:51Z mmatthews $ */public class StandardLogger implements Log {	private static final int FATAL = 0;	private static final int ERROR = 1;	private static final int WARN = 2;	private static final int INFO = 3;	private static final int DEBUG = 4;	private static final int TRACE = 5;	public static StringBuffer bufferedLog = null;	private boolean logLocationInfo = true;	/**	 * Creates a new StandardLogger object.	 * 	 * @param name	 *            the name of the configuration to use -- ignored	 */	public StandardLogger(String name) {		this(name, false);	}	public StandardLogger(String name, boolean logLocationInfo) {		this.logLocationInfo = logLocationInfo;	}	public static void saveLogsToBuffer() {		if (bufferedLog == null) {			bufferedLog = new StringBuffer();		}	}	/**	 * @see com.mysql.jdbc.log.Log#isDebugEnabled()	 */	public boolean isDebugEnabled() {		return true;	}	/**	 * @see com.mysql.jdbc.log.Log#isErrorEnabled()	 */	public boolean isErrorEnabled() {		return true;	}	/**	 * @see com.mysql.jdbc.log.Log#isFatalEnabled()	 */	public boolean isFatalEnabled() {		return true;	}	/**	 * @see com.mysql.jdbc.log.Log#isInfoEnabled()	 */	public boolean isInfoEnabled() {		return true;	}	/**	 * @see com.mysql.jdbc.log.Log#isTraceEnabled()	 */	public boolean isTraceEnabled() {		return true;	}	/**	 * @see com.mysql.jdbc.log.Log#isWarnEnabled()	 */	public boolean isWarnEnabled() {		return true;	}	/**	 * Logs the given message instance using the 'debug' level	 * 	 * @param message	 *            the message to log	 */	public void logDebug(Object message) {		logInternal(DEBUG, message, null);	}	/**	 * Logs the given message and Throwable at the 'debug' level.	 * 	 * @param message	 *            the message to log	 * @param exception	 *            the throwable to log (may be null)	 */	public void logDebug(Object message, Throwable exception) {		logInternal(DEBUG, message, exception);	}	/**	 * Logs the given message instance using the 'error' level	 * 	 * @param message	 *            the message to log	 */	public void logError(Object message) {		logInternal(ERROR, message, null);	}	/**	 * Logs the given message and Throwable at the 'error' level.	 * 	 * @param message	 *            the message to log	 * @param exception	 *            the throwable to log (may be null)	 */	public void logError(Object message, Throwable exception) {		logInternal(ERROR, message, exception);	}	/**	 * Logs the given message instance using the 'fatal' level	 * 	 * @param message	 *            the message to log	 */	public void logFatal(Object message) {		logInternal(FATAL, message, null);	}	/**	 * Logs the given message and Throwable at the 'fatal' level.	 * 	 * @param message	 *            the message to log	 * @param exception	 *            the throwable to log (may be null)	 */	public void logFatal(Object message, Throwable exception) {		logInternal(FATAL, message, exception);	}	/**	 * Logs the given message instance using the 'info' level	 * 	 * @param message	 *            the message to log	 */	public void logInfo(Object message) {		logInternal(INFO, message, null);	}	/**	 * Logs the given message and Throwable at the 'info' level.	 * 	 * @param message	 *            the message to log	 * @param exception	 *            the throwable to log (may be null)	 */	public void logInfo(Object message, Throwable exception) {		logInternal(INFO, message, exception);	}	/**	 * Logs the given message instance using the 'trace' level	 * 	 * @param message	 *            the message to log	 */	public void logTrace(Object message) {		logInternal(TRACE, message, null);	}	/**	 * Logs the given message and Throwable at the 'trace' level.	 * 	 * @param message	 *            the message to log	 * @param exception	 *            the throwable to log (may be null)	 */	public void logTrace(Object message, Throwable exception) {		logInternal(TRACE, message, exception);	}	/**	 * Logs the given message instance using the 'warn' level	 * 	 * @param message	 *            the message to log	 */	public void logWarn(Object message) {		logInternal(WARN, message, null);	}	/**	 * Logs the given message and Throwable at the 'warn' level.	 * 	 * @param message	 *            the message to log	 * @param exception	 *            the throwable to log (may be null)	 */	public void logWarn(Object message, Throwable exception) {		logInternal(WARN, message, exception);	}	private void logInternal(int level, Object msg, Throwable exception) {		StringBuffer msgBuf = new StringBuffer();		msgBuf.append(new Date().toString());		msgBuf.append(" ");		switch (level) {		case FATAL:			msgBuf.append("FATAL: ");			break;		case ERROR:			msgBuf.append("ERROR: ");			break;		case WARN:			msgBuf.append("WARN: ");			break;		case INFO:			msgBuf.append("INFO: ");			break;		case DEBUG:			msgBuf.append("DEBUG: ");			break;		case TRACE:			msgBuf.append("TRACE: ");			break;		}		if (msg instanceof ProfilerEvent) {			msgBuf.append(LogUtils.expandProfilerEventIfNecessary(msg));		} else {			if (this.logLocationInfo && level != TRACE) {				Throwable locationException = new Throwable();				msgBuf.append(LogUtils						.findCallingClassAndMethod(locationException));				msgBuf.append(" ");			}						if (msg != null) {				msgBuf.append(String.valueOf(msg));			}		}		if (exception != null) {			msgBuf.append("\n");			msgBuf.append("\n");			msgBuf.append("EXCEPTION STACK TRACE:");			msgBuf.append("\n");			msgBuf.append("\n");			msgBuf.append(Util.stackTraceToString(exception));		}		String messageAsString = msgBuf.toString();		System.err.println(messageAsString);		if (bufferedLog != null) {			bufferedLog.append(messageAsString);		}	}}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本一区二区三区久久久久久久久不| 欧美在线观看你懂的| 亚洲品质自拍视频网站| 884aa四虎影成人精品一区| 成人亚洲一区二区一| 日韩高清欧美激情| 国产精品久久毛片a| 欧美一区日韩一区| 91丨九色丨蝌蚪富婆spa| 久久成人麻豆午夜电影| 亚洲一区在线观看免费| 中文字幕一区二区三区在线不卡 | 国产精品夜夜爽| 婷婷亚洲久悠悠色悠在线播放| 国产精品人妖ts系列视频| 6080午夜不卡| 91久久国产综合久久| 成人永久免费视频| 激情偷乱视频一区二区三区| 亚洲午夜免费福利视频| 亚洲欧美日韩一区二区三区在线观看| 久久久久国产精品厨房| 日韩免费看网站| 欧美一级欧美一级在线播放| 欧美性一级生活| 色婷婷av一区二区三区软件| 成人免费av网站| 国产精品影音先锋| 国内精品不卡在线| 狠狠色丁香婷综合久久| 日韩av电影免费观看高清完整版在线观看| 成人免费在线视频观看| 国产精品国产自产拍高清av| 久久久噜噜噜久噜久久综合| 日韩欧美不卡一区| 日韩欧美激情一区| 日韩精品综合一本久道在线视频| 欧美高清精品3d| 欧美放荡的少妇| 欧美久久久一区| 日韩一区二区三区免费看 | 夜夜精品浪潮av一区二区三区| 中文字幕在线不卡国产视频| 1区2区3区国产精品| 亚洲欧洲韩国日本视频| 尤物在线观看一区| 亚洲成人av资源| 美日韩黄色大片| 九九九精品视频| 国产精品一区免费视频| 国产精品一区二区黑丝| 成人sese在线| 在线日韩国产精品| 欧美一级欧美三级在线观看| 精品国产乱码久久久久久免费| 久久影院午夜片一区| 国产精品久久久久久久久动漫| 日韩伦理免费电影| 亚洲不卡一区二区三区| 日本女优在线视频一区二区| 国产美女一区二区三区| 福利电影一区二区三区| 欧美色窝79yyyycom| 日韩天堂在线观看| 中文字幕高清不卡| 亚洲视频中文字幕| 日韩电影免费在线看| 国产一区二区三区精品欧美日韩一区二区三区 | 成人白浆超碰人人人人| 欧美亚洲动漫精品| 精品国精品国产| 国产精品国产三级国产aⅴ中文| 亚洲午夜一区二区| 国产乱码精品一区二区三| av不卡免费电影| 欧美顶级少妇做爰| 国产精品久久久久久妇女6080| 亚洲一区二区免费视频| 国模冰冰炮一区二区| 91在线视频网址| 日韩视频一区二区| 中文字幕在线不卡一区二区三区 | 日韩在线一二三区| 成人一区二区三区在线观看| 欧美挠脚心视频网站| 久久精品亚洲麻豆av一区二区| 亚洲免费观看高清完整版在线 | 国产精品你懂的在线欣赏| 亚洲成国产人片在线观看| 国产精品亚洲一区二区三区在线| 在线观看亚洲成人| 国产喷白浆一区二区三区| 色猫猫国产区一区二在线视频| 丁香一区二区三区| 91精品国产综合久久精品性色| 国产亚洲欧美日韩俺去了| 日韩电影一区二区三区四区| 91在线国产观看| 久久久久成人黄色影片| 天天影视色香欲综合网老头| 92精品国产成人观看免费 | 欧美一级高清片在线观看| 亚洲视频免费在线观看| 国产成人精品免费在线| 91精品国模一区二区三区| 不卡一区在线观看| 欧美色综合网站| 亚洲天堂中文字幕| 波多野结衣的一区二区三区| 欧美成人精品1314www| 亚洲第四色夜色| 94-欧美-setu| 国产精品你懂的在线| 国产精品自拍在线| 精品国产sm最大网站免费看| 日韩国产高清在线| 欧美高清视频在线高清观看mv色露露十八| 亚洲欧洲www| 成人免费毛片高清视频| 久久久蜜桃精品| 国产在线视频一区二区三区| 日韩欧美专区在线| 免费一级欧美片在线观看| 欧美理论片在线| 亚洲国产精品久久人人爱| 在线日韩国产精品| 亚洲国产视频在线| 欧美色中文字幕| 午夜精品一区二区三区电影天堂 | 91精品国产日韩91久久久久久| 一区二区成人在线| 一本久道久久综合中文字幕 | 国产丝袜在线精品| 国产91综合一区在线观看| 国产嫩草影院久久久久| 国产成人免费在线观看不卡| 国产无人区一区二区三区| 国产高清久久久| 中文字幕第一区综合| av色综合久久天堂av综合| 1024成人网| 色天使色偷偷av一区二区| 亚洲永久免费视频| 欧美日韩视频专区在线播放| 日产欧产美韩系列久久99| 日韩亚洲欧美在线| 国内精品国产成人国产三级粉色| 久久尤物电影视频在线观看| 国产成人av一区二区| 最新不卡av在线| 欧美性猛片xxxx免费看久爱| 日本特黄久久久高潮| 2020日本不卡一区二区视频| 国产精品综合av一区二区国产馆| 国产精品美女久久久久久2018| 91亚洲精品一区二区乱码| 亚洲高清免费视频| 精品久久人人做人人爽| 成人激情免费电影网址| 亚洲精品老司机| 日韩女优av电影在线观看| 成人一区在线看| 亚洲电影第三页| 久久亚洲欧美国产精品乐播| 99在线热播精品免费| 午夜婷婷国产麻豆精品| 欧美精品一区视频| 色美美综合视频| 久久精品国产77777蜜臀| 中文字幕第一页久久| 欧美日韩成人综合| 国产麻豆精品在线观看| 一区二区在线观看视频 | 3d动漫精品啪啪1区2区免费| 国产高清亚洲一区| 亚洲成人一区二区| 久久男人中文字幕资源站| 欧美偷拍一区二区| 国产综合久久久久久鬼色| 一区二区日韩av| www欧美成人18+| 在线精品视频小说1| 久久精品国产精品青草| 国产精品国产成人国产三级| 正在播放亚洲一区| 99久久er热在这里只有精品66| 日韩在线播放一区二区| 日韩美女精品在线| 精品免费一区二区三区| 欧美在线观看一二区| 国产精品18久久久久久久久| 午夜久久久久久久久| 中文字幕在线一区二区三区| 日韩美女在线视频| 欧美日韩综合不卡| 99久久综合国产精品| 久久97超碰国产精品超碰| 亚洲精品老司机| 国产精品理论片| 亚洲精品在线网站|