using System;
using System.Linq;
namespace Umbraco.Core.Logging
{
///
/// Implements on top of System.Diagnostics.Debug.
///
/// Useful for tests.
public class DebugDiagnosticsLogger : ILogger
{
public void Error(Type callingType, string message, Exception exception)
{
System.Diagnostics.Debug.WriteLine(message + Environment.NewLine + exception, callingType.ToString());
}
public void Warn(Type callingType, string message, params Func