Interface ILogger2
Namespace: Umbraco.Core.Logging
Assembly: Umbraco.Core.dll
Syntax
public interface ILogger2 : ILogger
Methods
View SourceDebug<T0>(Type, String, T0)
Logs a debug message.
Declaration
void Debug<T0>(Type reporting, string messageTemplate, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
Type Parameters
Name | Description |
---|---|
T0 |
Debug<T0, T1>(Type, String, T0, T1)
Logs a debug message.
Declaration
void Debug<T0, T1>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Debug<T0, T1, T2>(Type, String, T0, T1, T2)
Logs a debug message.
Declaration
void Debug<T0, T1, T2>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
T2 | propertyValue2 | Property value 2 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
T2 |
Error<T0>(Type, Exception, String, T0)
Logs an error message with an exception.
Declaration
void Error<T0>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
Type Parameters
Name | Description |
---|---|
T0 |
Error<T0>(Type, String, T0)
Logs a error message.
Declaration
void Error<T0>(Type reporting, string messageTemplate, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
Type Parameters
Name | Description |
---|---|
T0 |
Error<T0, T1>(Type, Exception, String, T0, T1)
Logs an error message with an exception.
Declaration
void Error<T0, T1>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Error<T0, T1>(Type, String, T0, T1)
Logs a error message.
Declaration
void Error<T0, T1>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Error<T0, T1, T2>(Type, Exception, String, T0, T1, T2)
Logs an error message with an exception.
Declaration
void Error<T0, T1, T2>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
T2 | propertyValue2 | Property value 2 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
T2 |
Error<T0, T1, T2>(Type, String, T0, T1, T2)
Logs a error message.
Declaration
void Error<T0, T1, T2>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
T2 | propertyValue2 | Property value 2 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
T2 |
Fatal<T0>(Type, Exception, String, T0)
Logs a fatal message with an exception.
Declaration
void Fatal<T0>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
Type Parameters
Name | Description |
---|---|
T0 |
Fatal<T0, T1>(Type, Exception, String, T0, T1)
Logs a fatal message with an exception.
Declaration
void Fatal<T0, T1>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Fatal<T0, T1, T2>(Type, Exception, String, T0, T1, T2)
Logs a fatal message with an exception.
Declaration
void Fatal<T0, T1, T2>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
T2 | propertyValue2 | Property value 2 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
T2 |
Info<T0>(Type, String, T0)
Logs a info message.
Declaration
void Info<T0>(Type reporting, string messageTemplate, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
Type Parameters
Name | Description |
---|---|
T0 |
Info<T0, T1>(Type, String, T0, T1)
Logs a info message.
Declaration
void Info<T0, T1>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Info<T0, T1, T2>(Type, String, T0, T1, T2)
Logs a info message.
Declaration
void Info<T0, T1, T2>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
T2 | propertyValue2 | Property value 2 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
T2 |
Verbose<T0>(Type, String, T0)
Logs a verbose message.
Declaration
void Verbose<T0>(Type reporting, string messageTemplate, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
Type Parameters
Name | Description |
---|---|
T0 |
Verbose<T0, T1>(Type, String, T0, T1)
Logs a verbose message.
Declaration
void Verbose<T0, T1>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Verbose<T0, T1, T2>(Type, String, T0, T1, T2)
Logs a verbose message.
Declaration
void Verbose<T0, T1, T2>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
T2 | propertyValue2 | Property value 2 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
T2 |
Warn<T0>(Type, Exception, String, T0)
Logs a warning message with an exception.
Declaration
void Warn<T0>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
Type Parameters
Name | Description |
---|---|
T0 |
Warn<T0>(Type, String, T0)
Logs a warning message with an exception.
Declaration
void Warn<T0>(Type reporting, string message, T0 propertyValue0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | message | A message template. |
T0 | propertyValue0 | Property value 0 |
Type Parameters
Name | Description |
---|---|
T0 |
Warn<T0, T1>(Type, Exception, String, T0, T1)
Logs a warning message with an exception.
Declaration
void Warn<T0, T1>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Warn<T0, T1>(Type, String, T0, T1)
Logs a warning message with an exception.
Declaration
void Warn<T0, T1>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 |
Warn<T, T0, T1>(String, T0, T1)
Logs a warning message.
Declaration
void Warn<T, T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
Parameters
Type | Name | Description |
---|---|---|
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
Type Parameters
Name | Description |
---|---|
T | |
T0 | |
T1 |
Warn<T0, T1, T2>(Type, Exception, String, T0, T1, T2)
Logs a warning message with an exception.
Declaration
void Warn<T0, T1, T2>(Type reporting, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.Exception | exception | An exception. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
T2 | propertyValue2 | Property value 2 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
T2 |
Warn<T0, T1, T2>(Type, String, T0, T1, T2)
Logs a warning message with an exception.
Declaration
void Warn<T0, T1, T2>(Type reporting, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.Type | reporting | The reporting type. |
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
T2 | propertyValue2 | Property value 2 |
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
T2 |
Warn<T, T0, T1, T2>(String, T0, T1, T2)
Logs a warning message.
Declaration
void Warn<T, T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
Parameters
Type | Name | Description |
---|---|---|
System.String | messageTemplate | A message template. |
T0 | propertyValue0 | Property value 0 |
T1 | propertyValue1 | Property value 1 |
T2 | propertyValue2 |
Type Parameters
Name | Description |
---|---|
T | |
T0 | |
T1 | |
T2 |