24 changed files with 185 additions and 77 deletions
@ -0,0 +1,50 @@
@@ -0,0 +1,50 @@
|
||||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||
|
||||
using System; |
||||
using ICSharpCode.Core; |
||||
using ICSharpCode.Core.Services; |
||||
|
||||
namespace ICSharpCode.FormsDesigner |
||||
{ |
||||
/// <summary>
|
||||
/// Description of FormsDesignerLoggingServiceImpl.
|
||||
/// </summary>
|
||||
public class FormsDesignerLoggingServiceImpl : IFormsDesignerLoggingService |
||||
{ |
||||
public void Debug(string message) |
||||
{ |
||||
LoggingService.Debug(message); |
||||
} |
||||
|
||||
public void Info(string message) |
||||
{ |
||||
LoggingService.Info(message); |
||||
} |
||||
|
||||
public void Warn(string message) |
||||
{ |
||||
LoggingService.Warn(message); |
||||
} |
||||
|
||||
public void Error(Exception error) |
||||
{ |
||||
LoggingService.Error(error); |
||||
} |
||||
|
||||
public void Error(string message, Exception error) |
||||
{ |
||||
LoggingService.Error(message, error); |
||||
} |
||||
|
||||
public void DebugFormatted(string format, params object[] args) |
||||
{ |
||||
LoggingService.DebugFormatted(format, args); |
||||
} |
||||
|
||||
public void WarnFormatted(string format, params object[] args) |
||||
{ |
||||
LoggingService.WarnFormatted(format, args); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,18 @@
@@ -0,0 +1,18 @@
|
||||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||
|
||||
using System; |
||||
|
||||
namespace ICSharpCode.FormsDesigner |
||||
{ |
||||
public interface IFormsDesignerLoggingService |
||||
{ |
||||
void Debug(string message); |
||||
void Info(string message); |
||||
void Warn(string message); |
||||
void Error(Exception error); |
||||
void Error(string message, Exception error); |
||||
void DebugFormatted(string format, params object[] args); |
||||
void WarnFormatted(string format, params object[] args); |
||||
} |
||||
} |
Loading…
Reference in new issue