Interface ILogger
Interface for logging service.
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
Methods
Debug(Type, Func<String>)
Declaration
void Debug(Type callingType, Func<string> generateMessage)
Parameters
Type |
Name |
Description |
System.Type |
callingType |
|
System.Func<System.String> |
generateMessage |
|
Debug(Type, String, Func<Object>[])
Declaration
void Debug(Type type, string generateMessageFormat, params Func<object>[] formatItems)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.String |
generateMessageFormat |
|
System.Func<System.Object>[] |
formatItems |
|
Error(Type, String, Exception)
Declaration
void Error(Type callingType, string message, Exception exception)
Parameters
Type |
Name |
Description |
System.Type |
callingType |
|
System.String |
message |
|
System.Exception |
exception |
|
Info(Type, Func<String>)
Declaration
void Info(Type callingType, Func<string> generateMessage)
Parameters
Type |
Name |
Description |
System.Type |
callingType |
|
System.Func<System.String> |
generateMessage |
|
Info(Type, String, Func<Object>[])
Declaration
void Info(Type type, string generateMessageFormat, params Func<object>[] formatItems)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.String |
generateMessageFormat |
|
System.Func<System.Object>[] |
formatItems |
|
Warn(Type, String, Func<Object>[])
Declaration
void Warn(Type callingType, string message, params Func<object>[] formatItems)
Parameters
Type |
Name |
Description |
System.Type |
callingType |
|
System.String |
message |
|
System.Func<System.Object>[] |
formatItems |
|
WarnWithException(Type, String, Exception, Func<Object>[])
Declaration
void WarnWithException(Type callingType, string message, Exception e, params Func<object>[] formatItems)
Parameters
Type |
Name |
Description |
System.Type |
callingType |
|
System.String |
message |
|
System.Exception |
e |
|
System.Func<System.Object>[] |
formatItems |
|