pidgin/pidgin

1966704b3e42
merge of '77693555855fe9cd3215414f79964dba346cc5fa'
and '19a87e98e5857ad0289f2c760d460f7f1dbbb42d'
using System;
using System.Runtime.CompilerServices;
namespace Gaim
{
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));
}
}
}