EventLogProviderCanLogEvent Method |
Returns true if the event can be logged
Namespace: CMS.EventLogAssembly: CMS.EventLog (in CMS.EventLog.dll) Version: 12.0.0
Syntax protected virtual bool CanLogEvent(
EventLogInfo eventObject,
bool logDirectly
)
Parameters
- eventObject
- Type: CMS.EventLogEventLogInfo
Event object - logDirectly
- Type: SystemBoolean
Whether the event is being logged directly (meaning not using the thread worker).
Return Value
Type:
BooleanSee Also