C# Class CCNet.SourceNotifier.Debug

Holds the debug configuration settings.
Show file Open project: shuruev/CCNet.Extensions

Public Properties

Property Type Description
Instance Debug
IsDebugModeEnabled bool
OverrideEmail string

Public Methods

Method Description
Log ( string format ) : void

Logs a line.

Private Methods

Method Description
Debug ( ) : System

Initializes a new instance.

Method Details

Log() public method

Logs a line.
public Log ( string format ) : void
format string
return void

Property Details

Instance public static property

Singleton instance.
public static Debug Instance
return Debug

IsDebugModeEnabled public property

Whether the debug or production behaviour should be used.
public bool IsDebugModeEnabled
return bool

OverrideEmail public property

If debugMode is enabled, the value is used instead of the recipients email addresses. I.e. all the emails will be sent to this address.
public string OverrideEmail
return string