Interface ILog
Describes an entity that accepts log messages
Assembly: Azos.dll
Syntax
public interface ILog : IApplicationComponent, ILocalizedTimeProvider
Properties
LastCatastrophe
Declaration
Message LastCatastrophe { get; }
Property Value
LastError
Declaration
Message LastError { get; }
Property Value
LastWarning
Declaration
Message LastWarning { get; }
Property Value
Methods
Write(Message)
Declaration
Parameters
Write(Message, Boolean)
Declaration
void Write(Message msg, bool urgent)
Parameters
Type |
Name |
Description |
Message |
msg |
|
System.Boolean |
urgent |
|
Write(MessageType, String, Boolean, String, String)
Declaration
void Write(MessageType type, string text, bool urgent, string topic = null, string from = null)
Parameters
Type |
Name |
Description |
MessageType |
type |
|
System.String |
text |
|
System.Boolean |
urgent |
|
System.String |
topic |
|
System.String |
from |
|
Write(MessageType, String, String, String)
Declaration
void Write(MessageType type, string text, string topic = null, string from = null)
Parameters
Type |
Name |
Description |
MessageType |
type |
|
System.String |
text |
|
System.String |
topic |
|
System.String |
from |
|
Extension Methods