Class EventLog
This class represents a EventLog domain in the controller.
Inheritance
System.Object
EventLog
Implements
System.IComparable
System.IDisposable
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public sealed class EventLog : SDKControllerBoundBase, IComparable, INamedObject, IDisposable
Remarks
Methods
ClearAll()
Declaration
Remarks
GetAllMessages(Int32, Int32)
Declaration
public List<EventLogMessage> GetAllMessages(int startSequenceNumber, int maxNumberOfEvents = -1)
Parameters
Type |
Name |
Description |
System.Int32 |
startSequenceNumber |
|
System.Int32 |
maxNumberOfEvents |
|
Returns
GetCategories()
Gets the available categories of the EventLog.
Declaration
public EventLogCategory[] GetCategories()
Returns
Type |
Description |
EventLogCategory[] |
An array of the available categories inside the EventLog domain in the controller.
|
GetCategory(CategoryType)
Declaration
public EventLogCategory GetCategory(CategoryType type)
Parameters
Returns
Remarks
GetCategory(Int32)
Gets the specified event log category.
Declaration
public EventLogCategory GetCategory(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
See Also
GetCategoryIds()
Declaration
public int[] GetCategoryIds()
Returns
Type |
Description |
System.Int32[] |
|
GetMessageCount(Int32)
Declaration
public int GetMessageCount(int category)
Parameters
Type |
Name |
Description |
System.Int32 |
category |
|
Returns
Type |
Description |
System.Int32 |
|
GetMessagesByCategory(Int32, Int32, Int32)
Declaration
public List<EventLogMessage> GetMessagesByCategory(int category, int startSequenceNumber, int maxNumberOfEvents = -1)
Parameters
Type |
Name |
Description |
System.Int32 |
category |
|
System.Int32 |
startSequenceNumber |
|
System.Int32 |
maxNumberOfEvents |
|
Returns
Events
MessageWritten
Raised when a new event is written to the log.
Declaration
public event EventHandler<MessageWrittenEventArgs> MessageWritten
Event Type
MessageWrittenNoCache
Raised when a new event is written to the log.
Declaration
public event EventHandler<MessageWrittenEventArgs> MessageWrittenNoCache
Event Type
Implements
System.IComparable
System.IDisposable