• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Interface ILog

A contract specifying the ability to log information.

Namespace: DotNetNuke.Instrumentation
Assembly: DotNetNuke.Instrumentation.dll
Syntax
public interface ILog

Properties

| Improve this Doc View Source

IsDebugEnabled

Gets a value indicating whether the Debug log level is enabled.

Declaration
bool IsDebugEnabled { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsErrorEnabled

Gets a value indicating whether the Error log level is enabled.

Declaration
bool IsErrorEnabled { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsFatalEnabled

Gets a value indicating whether the Fatal log level is enabled.

Declaration
bool IsFatalEnabled { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsInfoEnabled

Gets a value indicating whether the Info log level is enabled.

Declaration
bool IsInfoEnabled { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsTraceEnabled

Gets a value indicating whether the Trace log level is enabled.

Declaration
bool IsTraceEnabled { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsWarnEnabled

Gets a value indicating whether the Warn log level is enabled.

Declaration
bool IsWarnEnabled { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Debug(Object, Exception)

Log a message and exception details at the Debug log level.

Declaration
void Debug(object message, Exception exception)
Parameters
Type Name Description
System.Object message

An object to display as the message.

Exception exception

An exception to include in the log.

| Improve this Doc View Source

Debug(Object)

Log a message at the Debug log level.

Declaration
void Debug(object message)
Parameters
Type Name Description
System.Object message

An object to display as the message.

| Improve this Doc View Source

DebugFormat(IFormatProvider, String, Object[])

Log a message at the Debug log level.

Declaration
void DebugFormat(IFormatProvider provider, string format, params object[] args)
Parameters
Type Name Description
IFormatProvider provider

An object that supplies culture-specific formatting information.

System.String format

A composite format string.

System.Object[] args

An object array that contains zero or more objects to format.

| Improve this Doc View Source

DebugFormat(String, Object[])

Log a message at the Debug log level.

Declaration
void DebugFormat(string format, params object[] args)
Parameters
Type Name Description
System.String format

A composite format string.

System.Object[] args

An object array that contains zero or more objects to format.

| Improve this Doc View Source

Error(Object, Exception)

Log a message and exception details at the Error log level.

Declaration
void Error(object message, Exception exception)
Parameters
Type Name Description
System.Object message

An object to display as the message.

Exception exception

An exception to include in the log.

| Improve this Doc View Source

Error(Object)

Log a message at the Error log level.

Declaration
void Error(object message)
Parameters
Type Name Description
System.Object message

An object to display as the message.

| Improve this Doc View Source

ErrorFormat(IFormatProvider, String, Object[])

Log a message at the Error log level.

Declaration
void ErrorFormat(IFormatProvider provider, string format, params object[] args)
Parameters
Type Name Description
IFormatProvider provider

An object that supplies culture-specific formatting information.

System.String format

A composite format string.

System.Object[] args

An object array that contains zero or more objects to format.

| Improve this Doc View Source

ErrorFormat(String, Object[])

Log a message at the Error log level.

Declaration
void ErrorFormat(string format, params object[] args)
Parameters
Type Name Description
System.String format

A composite format string.

System.Object[] args

An object array that contains zero or more objects to format.

| Improve this Doc View Source

Fatal(Object, Exception)

Log a message and exception details at the Fatal log level.

Declaration
void Fatal(object message, Exception exception)
Parameters
Type Name Description
System.Object message

An object to display as the message.

Exception exception

An exception to include in the log.

| Improve this Doc View Source

Fatal(Object)

Log a message at the Fatal log level.

Declaration
void Fatal(object message)
Parameters
Type Name Description
System.Object message

An object to display as the message.

| Improve this Doc View Source

FatalFormat(IFormatProvider, String, Object[])

Log a message at the Fatal log level.

Declaration
void FatalFormat(IFormatProvider provider, string format, params object[] args)
Parameters
Type Name Description
IFormatProvider provider

An object that supplies culture-specific formatting information.

System.String format

A composite format string.

System.Object[] args

An object array that contains zero or more objects to format.

| Improve this Doc View Source

FatalFormat(String, Object[])

Log a message at the Fatal log level.

Declaration
void FatalFormat(string format, params object[] args)
Parameters
Type Name Description
System.String format

A composite format string.

System.Object[] args

An object array that contains zero or more objects to format.

| Improve this Doc View Source

Info(Object, Exception)

Log a message and exception details at the Info log level.

Declaration
void Info(object message, Exception exception)
Parameters
Type Name Description
System.Object message

An object to display as the message.

Exception exception

An exception to include in the log.

| Improve this Doc View Source

Info(Object)

Log a message at the Info log level.

Declaration
void Info(object message)
Parameters
Type Name Description
System.Object message

An object to display as the message.

| Improve this Doc View Source

InfoFormat(IFormatProvider, String, Object[])

Log a message at the Info log level.

Declaration
void InfoFormat(IFormatProvider provider, string format, params object[] args)
Parameters
Type Name Description
IFormatProvider provider

An object that supplies culture-specific formatting information.

System.String format

A composite format string.

System.Object[] args

An object array that contains zero or more objects to format.

| Improve this Doc View Source

InfoFormat(String, Object[])

Log a message at the Info log level.

Declaration
void InfoFormat(string format, params object[] args)
Parameters
Type Name Description
System.String format

A composite format string.

System.Object[] args

An object array that contains zero or more objects to format.

| Improve this Doc View Source

Trace(Object, Exception)

Log a message and exception details at the Trace log level.

Declaration
void Trace(object message, Exception exception)
Parameters
Type Name Description
System.Object message

An object to display as the message.

Exception exception

An exception to include in the log.

| Improve this Doc View Source

Trace(Object)

Log a message at the Trace log level.

Declaration
void Trace(object message)
Parameters
Type Name Description
System.Object message

An object to display as the message.

| Improve this Doc View Source

TraceFormat(IFormatProvider, String, Object[])

Log a message at the Trace log level.

Declaration
void TraceFormat(IFormatProvider provider, string format, params object[] args)
Parameters
Type Name Description
IFormatProvider provider

An object that supplies culture-specific formatting information.

System.String format

A composite format string.

System.Object[] args

An object array that contains zero or more objects to format.

| Improve this Doc View Source

TraceFormat(String, Object[])

Log a message at the Trace log level.

Declaration
void TraceFormat(string format, params object[] args)
Parameters
Type Name Description
System.String format

A composite format string.

System.Object[] args

An object array that contains zero or more objects to format.

| Improve this Doc View Source

Warn(Object, Exception)

Log a message and exception details at the Warn log level.

Declaration
void Warn(object message, Exception exception)
Parameters
Type Name Description
System.Object message

An object to display as the message.

Exception exception

An exception to include in the log.

| Improve this Doc View Source

Warn(Object)

Log a message at the Warn log level.

Declaration
void Warn(object message)
Parameters
Type Name Description
System.Object message

An object to display as the message.

| Improve this Doc View Source

WarnFormat(IFormatProvider, String, Object[])

Log a message at the Warn log level.

Declaration
void WarnFormat(IFormatProvider provider, string format, params object[] args)
Parameters
Type Name Description
IFormatProvider provider

An object that supplies culture-specific formatting information.

System.String format

A composite format string.

System.Object[] args

An object array that contains zero or more objects to format.

| Improve this Doc View Source

WarnFormat(String, Object[])

Log a message at the Warn log level.

Declaration
void WarnFormat(string format, params object[] args)
Parameters
Type Name Description
System.String format

A composite format string.

System.Object[] args

An object array that contains zero or more objects to format.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS