main
1using System;
2
3namespace common
4{
5 static public class Logging
6 {
7 static public void log(this string item, params object[] arguments)
8 {
9 //Console.Out.WriteLine("{0}: {1}".format(Assembly.GetEntryAssembly().GetName().Name, item.format(arguments)));
10 Console.Out.WriteLine(item.format(arguments));
11 }
12
13 static public void add_to_log(this Exception item)
14 {
15 item.Message.log();
16 }
17 }
18}