Class NSLogProvider
Log provider that writes output to NSLog.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class NSLogProvider : LogProvider
Constructors
NSLogProvider()
Initializes a new instance of the NSLogProvider.
Declaration
public NSLogProvider()
NSLogProvider(LogLevel)
Initializes a new instance of the NSLogProvider class.
Declaration
public NSLogProvider(LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | The log level. |
Methods
DoLog(LogEvent)
Logs a message at the specified log level.
Declaration
protected override void DoLog(LogEvent logEvent)
Parameters
Type | Name | Description |
---|---|---|
LogEvent | logEvent | The log event details. |
Overrides
WriteLine(String)
Writes a line of text to the log.
Declaration
public void WriteLine(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to write to the log. |