使用方法
1
2
3
4
5
6
|
public static Log GetLogger( string filename = "Log" ) { ILog logger = CustomRollingFileLogger.GetCustomLogger(filename, DateTime.Now.ToString( "yyyyMMdd" )); return new Log(logger); } |