debug.cs

来自「Linux下的多协议即时通讯程序源代码」· CS 代码 · 共 29 行

CS
29
字号
using System;using System.Runtime.CompilerServices;namespace Purple{	public class Debug	{		public static int ALL = 0;		public static int MISC = 1;		public static int INFO = 2;		public static int WARNING = 3;		public static int ERROR = 4;		public static int FATAL = 5;				[MethodImplAttribute(MethodImplOptions.InternalCall)]		extern private static void _debug(int type, string cat, string str);				public static void debug(int type, string cat, string format)		{			_debug(type, cat, format);		}				public static void debug(int type, string cat, string format, params object[] args)		{			_debug(type, cat, String.Format(format, args));		}	}}

⌨️ 快捷键说明

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