Class DnnLogger
Inheritance
LoggerWrapperImpl
DnnLogger
Implements
ILoggerWrapper
Inherited Members
LoggerWrapperImpl.Logger
Assembly: DotNetNuke.Instrumentation.dll
Syntax
[Obsolete("Deprecated in DotNetNuke 9.13.7. Use LoggerSource.Instance. Scheduled for removal in v11.0.0.")]
public sealed class DnnLogger : LoggerWrapperImpl, ILoggerWrapper
Methods
Debug(object)
Declaration
public void Debug(object message)
Parameters
Type |
Name |
Description |
object |
message |
|
Declaration
public void DebugFormat(IFormatProvider provider, string format, params object[] args)
Parameters
Declaration
public void DebugFormat(string format, params object[] args)
Parameters
Error(object)
Declaration
public void Error(object message)
Parameters
Type |
Name |
Description |
object |
message |
|
Error(object, Exception)
Declaration
public void Error(object message, Exception exception)
Parameters
Declaration
public void ErrorFormat(IFormatProvider provider, string format, params object[] args)
Parameters
Declaration
public void ErrorFormat(string format, params object[] args)
Parameters
Fatal(object)
Declaration
public void Fatal(object message)
Parameters
Type |
Name |
Description |
object |
message |
|
Fatal(object, Exception)
Declaration
public void Fatal(object message, Exception exception)
Parameters
Declaration
public void FatalFormat(IFormatProvider provider, string format, params object[] args)
Parameters
Declaration
public void FatalFormat(string format, params object[] args)
Parameters
GetClassLogger(Type)
Declaration
public static DnnLogger GetClassLogger(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
GetLogger(string)
Declaration
public static DnnLogger GetLogger(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
Info(object)
Declaration
public void Info(object message)
Parameters
Type |
Name |
Description |
object |
message |
|
Declaration
public void InfoFormat(IFormatProvider provider, string format, params object[] args)
Parameters
Declaration
public void InfoFormat(string format, params object[] args)
Parameters
InstallLogError(object)
Declaration
public void InstallLogError(object message)
Parameters
Type |
Name |
Description |
object |
message |
|
InstallLogError(string, Exception)
Declaration
public void InstallLogError(string message, Exception exception)
Parameters
Declaration
public void InstallLogErrorFormat(IFormatProvider provider, string format, params object[] args)
Parameters
Declaration
public void InstallLogErrorFormat(string format, params object[] args)
Parameters
InstallLogInfo(object)
Declaration
public void InstallLogInfo(object message)
Parameters
Type |
Name |
Description |
object |
message |
|
Declaration
public void InstallLogInfoFormat(IFormatProvider provider, string format, params object[] args)
Parameters
Declaration
public void InstallLogInfoFormat(string format, params object[] args)
Parameters
Warn(object)
Declaration
public void Warn(object message)
Parameters
Type |
Name |
Description |
object |
message |
|
Warn(object, Exception)
Declaration
public void Warn(object message, Exception exception)
Parameters
Declaration
public void WarnFormat(IFormatProvider provider, string format, params object[] args)
Parameters
Declaration
public void WarnFormat(string format, params object[] args)
Parameters
Implements
log4net.Core.ILoggerWrapper
Extension Methods