Content Studio Web Content Management System
Assembly: CSSubscriptionEventHandler (in CSSubscriptionEventHandler.dll) Version: 1.0.0.0 (1.0.0.0)
[This is preliminary documentation and is subject to change.]
Creates the logger object that logs events to its implementation of the
ISysLogWriter interface.
Namespace: ContentStudio.Document.Subscription.EventHandler
Assembly: CSSubscriptionEventHandler (in CSSubscriptionEventHandler.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Logger is already created. |
TypeLoadException | Cannot load type indicated by the ContentStudio.ServiceManager.Logging.ISysLogWriter extended property |
IOException | Cannot locate the assembly file indicated by the ContentStudio.ServiceManager.Logging.ISysLogWriter extended property |
TargetInvocationException | |
ArgumentException | |
InvalidCastException | the created assembly does not implement ISysLogWriter |
Remarks
You cannot create a logger more that once.
This method is called by the base class during initialization and developers can override this method to create their own logger instead of the logger indicated by the ContentStudio.ServiceManager.Logging.ISysLogWriter extended property.
See Also