You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
769 B
C#
31 lines
769 B
C#
|
|
using Swan.Logging;
|
|
|
|
namespace KevDrawServer
|
|
{
|
|
/// <summary>
|
|
/// Not really useful, just easier to copy existing code using a different logger
|
|
/// </summary>
|
|
public class Logger
|
|
{
|
|
public static void Error(string msg, params object[] args)
|
|
{
|
|
string.Format(msg, args).Error();
|
|
}
|
|
|
|
public static void Info(string msg, params object[] args)
|
|
{
|
|
string.Format(msg, args).Info();
|
|
}
|
|
|
|
public static void Debug(string msg, params object[] args)
|
|
{
|
|
string.Format(msg, args).Debug();
|
|
}
|
|
|
|
public static void Trace(string msg, params object[] args)
|
|
{
|
|
string.Format(msg, args).Trace();
|
|
}
|
|
}
|
|
} |