namespace Binge.Bits
{
	using System;

	public class Object
	{
		public static bool Verbose = false;

		public static void Dbg (string format, params object[] arg)
		{
			if (Verbose)
				Out (format, arg);
		}

		public static void Dbg (string format)
		{
			Dbg ("{0}", format);
		}

		public static void Outl (string format, params object[] arg)
		{
			Console.WriteLine (format, arg);
		}

		public static void Outl (string format)
		{
			Outl ("{0}", format);
		}

		public static void Out (string format, params object[] arg)
		{
			Console.Write (format, arg);
		}

		public static void Out (string format)
		{
			Out ("{0}", format);
		}

		public static void Errl (string format, params object[] arg)
		{
			Console.Error.WriteLine (format, arg);
		}

		public static void Errl (string format)
		{
			Errl ("{0}", format);
		}

		public static void Err (string format, params object[] arg)
		{
			Console.Error.Write (format, arg);
		}

		public static void Err (string format)
		{
			Out ("{0}", format);
		}
	}
}
