Interface ILogOutput
Interface to implement to be able to receive log and act upon them (e.g. write to file)
Namespace: Unity.Cloud.Common
Syntax
public interface ILogOutput
Properties
CurrentLevel
The current LogLevel.
Declaration
LogLevel CurrentLevel { get; set; }
Property Value
Type | Description |
---|---|
LogLevel |
Enabled
Whether logging is enabled.
Declaration
bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Write(LogEvent)
Write a LogEvent.
Declaration
void Write(LogEvent logEvent)
Parameters
Type | Name | Description |
---|---|---|
LogEvent | logEvent | The log event to write. |