Changeset 2610 for trunk/sources/HeuristicLab.Tracing
- Timestamp:
- 01/06/10 14:43:45 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Tracing/3.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tracing/3.2/HeuristicLab.Hive.log4net.xml
r2062 r2610 6 6 <rollingStyle value="Size" /> 7 7 <maxSizeRollBackups value="10" /> 8 <maximumFileSize value="10 KB" />8 <maximumFileSize value="1000KB" /> 9 9 <staticLogFileName value="true" /> 10 10 <lockingModel type="log4net.Appender.FileAppender+MinimalLock" /> -
trunk/sources/HeuristicLab.Tracing/3.2/HiveLogger.cs
r2591 r2610 34 34 35 35 public static void Debug(object message) { 36 GetDefaultLogger(1).Debug( message);36 GetDefaultLogger(1).Debug(DateTime.Now + ":" + DateTime.Now.Millisecond + " - " + message); 37 37 } 38 38 39 39 public static void Info(object message) { 40 GetDefaultLogger(1).Info( message);40 GetDefaultLogger(1).Info(DateTime.Now + ":" + DateTime.Now.Millisecond + " - " + message); 41 41 } 42 42 43 43 public static void Warn(object message) { 44 GetDefaultLogger(1).Warn( message);44 GetDefaultLogger(1).Warn(DateTime.Now + ":" + DateTime.Now.Millisecond + " - " + message); 45 45 } 46 46 47 47 public static void Error(object message) { 48 GetDefaultLogger(1).Error( message);48 GetDefaultLogger(1).Error(DateTime.Now + ":" + DateTime.Now.Millisecond + " - " + message); 49 49 } 50 50 51 51 public static void Fatal(object message) { 52 GetDefaultLogger(1).Fatal( message);52 GetDefaultLogger(1).Fatal(DateTime.Now + ":" + DateTime.Now.Millisecond + " - " + message); 53 53 } 54 54
Note: See TracChangeset
for help on using the changeset viewer.