11#if ! NETFX_CORE
22using System ;
33
4- namespace ServiceStack . Logging . Support . Logging
4+ namespace ServiceStack . Logging
55{
66 /// <summary>
77 /// Default logger is to Console.WriteLine
@@ -19,28 +19,22 @@ public class ConsoleLogger : ILog
1919 /// <summary>
2020 /// Initializes a new instance of the <see cref="DebugLogger"/> class.
2121 /// </summary>
22- /// <param name="type">The type.</param>
2322 public ConsoleLogger ( string type )
2423 {
2524 }
2625
2726 /// <summary>
2827 /// Initializes a new instance of the <see cref="DebugLogger"/> class.
2928 /// </summary>
30- /// <param name="type">The type.</param>
3129 public ConsoleLogger ( Type type )
3230 {
3331 }
3432
35- #region ILog Members
36-
3733 public bool IsDebugEnabled { get { return true ; } }
3834
3935 /// <summary>
4036 /// Logs the specified message.
4137 /// </summary>
42- /// <param name="message">The message.</param>
43- /// <param name="exception">The exception.</param>
4438 private static void Log ( object message , Exception exception )
4539 {
4640 string msg = message == null ? string . Empty : message . ToString ( ) ;
@@ -54,8 +48,6 @@ private static void Log(object message, Exception exception)
5448 /// <summary>
5549 /// Logs the format.
5650 /// </summary>
57- /// <param name="message">The message.</param>
58- /// <param name="args">The args.</param>
5951 private static void LogFormat ( object message , params object [ ] args )
6052 {
6153 string msg = message == null ? string . Empty : message . ToString ( ) ;
@@ -65,7 +57,6 @@ private static void LogFormat(object message, params object[] args)
6557 /// <summary>
6658 /// Logs the specified message.
6759 /// </summary>
68- /// <param name="message">The message.</param>
6960 private static void Log ( object message )
7061 {
7162 string msg = message == null ? string . Empty : message . ToString ( ) ;
@@ -146,8 +137,6 @@ public void WarnFormat(string format, params object[] args)
146137 {
147138 LogFormat ( WARN + format , args ) ;
148139 }
149-
150- #endregion
151140 }
152141}
153142#endif
0 commit comments