view libpurple/plugins/mono/api/Debug.cs @ 24864:01bd85f65fa1

Change our font mapping in gtkimhtml to match the suggested values in CSS 2.1 http://www.w3.org/TR/CSS21/fonts.html#font-size-props
author Mark Doliner <mark@kingant.net>
date Mon, 22 Dec 2008 19:29:59 +0000
parents 93bfbda79bf6
children
line wrap: on
line source

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));
		}
	}
}