Class DebugDiagnosticsLogger
Implements ILogger on top of System.Diagnostics.
Inheritance
Namespace: Umbraco.Core.Logging
Assembly: Umbraco.Core.dll
Syntax
public class DebugDiagnosticsLogger : ILogger
Methods
View SourceDebug(Type, String)
Logs a debugging message.
Declaration
public void Debug(Type reporting, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | message | A message. |
Debug(Type, String, Object[])
Logs a debug message.
Declaration
public void Debug(Type reporting, string messageTemplate, params object[] propertyValues)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
System.Object[] | propertyValues | Property values. |
Debug<T0>(Type, String, T0)
Declaration
public void Debug<T0>(Type reporting, string messageTemplate, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.String | messageTemplate | |
T0 | propertyValue0 |
Type Parameters
Name | Description |
---|---|
T0 |
Debug<T0, T1>(Type, String, T0, T1)
Declaration
public void Debug<T0, T1>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.String | messageTemplate | |
T0 | propertyValue0 | |
T1 | propertyValue1 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Debug<T0, T1, T2>(Type, String, T0, T1, T2)
Declaration
public void Debug<T0, T1, T2>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.String | messageTemplate | |
T0 | propertyValue0 | |
T1 | propertyValue1 | |
T2 | propertyValue2 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
T2 |
Error(Type, Exception)
Logs an error exception.
Declaration
public void Error(Type reporting, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
Remarks
The message string is unspecified and is implementation-specific.
Error(Type, Exception, String)
Logs an error message with an exception.
Declaration
public void Error(Type reporting, Exception exception, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | message | A message. |
Error(Type, Exception, String, Object[])
Logs an error message with an exception.
Declaration
public void Error(Type reporting, Exception exception, string messageTemplate, params object[] propertyValues)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | messageTemplate | A message template. |
System.Object[] | propertyValues | Property values. |
Error(Type, String)
Logs an error message.
Declaration
public void Error(Type reporting, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | message | A message. |
Error(Type, String, Object[])
Logs an error message.
Declaration
public void Error(Type reporting, string messageTemplate, params object[] propertyValues)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
System.Object[] | propertyValues | Property values. |
Error<T0>(Type, Exception, String, T0)
Declaration
public void Error<T0>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.Exception | exception | |
System.String | messageTemplate | |
T0 | propertyValue0 |
Type Parameters
Name | Description |
---|---|
T0 |
Error<T0, T1>(Type, Exception, String, T0, T1)
Declaration
public void Error<T0, T1>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.Exception | exception | |
System.String | messageTemplate | |
T0 | propertyValue0 | |
T1 | propertyValue1 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Error<T0, T1, T2>(Type, Exception, String, T0, T1, T2)
Declaration
public void Error<T0, T1, T2>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.Exception | exception | |
System.String | messageTemplate | |
T0 | propertyValue0 | |
T1 | propertyValue1 | |
T2 | propertyValue2 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
T2 |
Fatal(Type, Exception)
Logs a fatal exception.
Declaration
public void Fatal(Type reporting, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
Remarks
The message string is unspecified and is implementation-specific.
Fatal(Type, Exception, String)
Logs a fatal message with an exception.
Declaration
public void Fatal(Type reporting, Exception exception, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | message | A message. |
Fatal(Type, Exception, String, Object[])
Logs a fatal message with an exception.
Declaration
public void Fatal(Type reporting, Exception exception, string messageTemplate, params object[] propertyValues)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | messageTemplate | A message template. |
System.Object[] | propertyValues | Property values. |
Fatal(Type, String)
Logs a fatal message.
Declaration
public void Fatal(Type reporting, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | message | A message. |
Fatal(Type, String, Object[])
Logs a fatal message.
Declaration
public void Fatal(Type reporting, string messageTemplate, params object[] propertyValues)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
System.Object[] | propertyValues | Property values. |
Fatal<T0>(Type, Exception, String, T0)
Declaration
public void Fatal<T0>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.Exception | exception | |
System.String | messageTemplate | |
T0 | propertyValue0 |
Type Parameters
Name | Description |
---|---|
T0 |
Fatal<T0, T1>(Type, Exception, String, T0, T1)
Declaration
public void Fatal<T0, T1>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.Exception | exception | |
System.String | messageTemplate | |
T0 | propertyValue0 | |
T1 | propertyValue1 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Fatal<T0, T1, T2>(Type, Exception, String, T0, T1, T2)
Declaration
public void Fatal<T0, T1, T2>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.Exception | exception | |
System.String | messageTemplate | |
T0 | propertyValue0 | |
T1 | propertyValue1 | |
T2 | propertyValue2 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
T2 |
Info(Type, String)
Logs an information message.
Declaration
public void Info(Type reporting, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | message | A message. |
Info(Type, String, Object[])
Logs a info message.
Declaration
public void Info(Type reporting, string messageTemplate, params object[] propertyValues)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
System.Object[] | propertyValues | Property values. |
Info<T0>(Type, String, T0)
Declaration
public void Info<T0>(Type reporting, string messageTemplate, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.String | messageTemplate | |
T0 | propertyValue0 |
Type Parameters
Name | Description |
---|---|
T0 |
Info<T0, T1>(Type, String, T0, T1)
Declaration
public void Info<T0, T1>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.String | messageTemplate | |
T0 | propertyValue0 | |
T1 | propertyValue1 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Info<T0, T1, T2>(Type, String, T0, T1, T2)
Declaration
public void Info<T0, T1, T2>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.String | messageTemplate | |
T0 | propertyValue0 | |
T1 | propertyValue1 | |
T2 | propertyValue2 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
T2 |
IsEnabled(Type, LogLevel)
Declaration
public bool IsEnabled(Type reporting, LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
LogLevel | level |
Returns
Type | Description |
---|---|
System.Boolean |
Verbose(Type, String)
Logs a verbose message.
Declaration
public void Verbose(Type reporting, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | message | A message. |
Verbose(Type, String, Object[])
Logs a verbose message.
Declaration
public void Verbose(Type reporting, string messageTemplate, params object[] propertyValues)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
System.Object[] | propertyValues | Property values. |
Verbose<T0>(Type, String, T0)
Declaration
public void Verbose<T0>(Type reporting, string messageTemplate, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.String | messageTemplate | |
T0 | propertyValue0 |
Type Parameters
Name | Description |
---|---|
T0 |
Verbose<T0, T1>(Type, String, T0, T1)
Declaration
public void Verbose<T0, T1>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.String | messageTemplate | |
T0 | propertyValue0 | |
T1 | propertyValue1 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Verbose<T0, T1, T2>(Type, String, T0, T1, T2)
Declaration
public void Verbose<T0, T1, T2>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.String | messageTemplate | |
T0 | propertyValue0 | |
T1 | propertyValue1 | |
T2 | propertyValue2 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
T2 |
Warn(Type, Exception, String)
Logs a warning message with an exception.
Declaration
public void Warn(Type reporting, Exception exception, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | message | A message. |
Warn(Type, Exception, String, Object[])
Logs a warning message with an exception.
Declaration
public void Warn(Type reporting, Exception exception, string message, params object[] propertyValues)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | message | |
System.Object[] | propertyValues | Property values. |
Warn(Type, String)
Logs a warning message.
Declaration
public void Warn(Type reporting, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | message | A message. |
Warn(Type, String, Object[])
Logs a warning message.
Declaration
public void Warn(Type reporting, string message, params object[] propertyValues)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | message | |
System.Object[] | propertyValues | Property values. |
Warn<T0>(Type, Exception, String, T0)
Declaration
public void Warn<T0>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.Exception | exception | |
System.String | messageTemplate | |
T0 | propertyValue0 |
Type Parameters
Name | Description |
---|---|
T0 |
Warn<T0>(Type, String, T0)
Declaration
public void Warn<T0>(Type reporting, string message, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.String | message | |
T0 | propertyValue0 |
Type Parameters
Name | Description |
---|---|
T0 |
Warn<T0, T1>(Type, Exception, String, T0, T1)
Declaration
public void Warn<T0, T1>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.Exception | exception | |
System.String | messageTemplate | |
T0 | propertyValue0 | |
T1 | propertyValue1 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Warn<T0, T1, T2>(Type, Exception, String, T0, T1, T2)
Declaration
public void Warn<T0, T1, T2>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | |
System.Exception | exception | |
System.String | messageTemplate | |
T0 | propertyValue0 | |
T1 | propertyValue1 | |
T2 | propertyValue2 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
T2 |