public Log ( string message, Category category, Priority priority ) : void | ||
message | string | |
category | Category | |
priority | Priority | |
리턴 | void |
public void Log(string message, Category category, Priority priority)
{
switch (category)
{
case Category.Debug:
Log4Net.Debug(message);
break;
case Category.Warn:
Log4Net.Warn(message);
break;
case Category.Exception:
Log4Net.Error(message);
break;
case Category.Info:
Log4Net.Info(message);
break;
}
}