smartinspectpython.silogentryeventargs

Module: silogentryeventargs.py

Revision History

Date Version Description
2023/05/30 3.0.0.0 Initial Version.

@export
class SILogEntryEventArgs:

This class is used by the SmartInspect.LogEntry event.

It has only one public class member named LogEntry. This member is a property, which just returns the sent packet.

Threadsafety:

This class is fully thread-safe.

SILogEntryEventArgs(logEntry: smartinspectpython.silogentry.SILogEntry)

Initializes a new instance of the class.

Arguments:
  • logEntry (SILogEntry): The Log Entry packet which caused the event.

Returns the LogEntry packet, which has just been sent.

@export
class SILogEntryEventHandler:

This is the event handler type for the SmartInspect.LogEntryEvent event.

SILogEntryEventHandler( sender: object, e: smartinspectpython.silogentryeventargs.SILogEntryEventArgs)

Initializes a new instance of the class.

Arguments:
  • sender (object): The object which fired the event.
  • e (LogEntryEventArgs): Arguments that contain detailed information related to the event.