SubscriptionEventHandlerBaseLogger Property Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Gets or sets the logger object that is used when logging to a syslog.

Namespace: ContentStudio.Document.Subscription.EventHandler
Assembly: CSSubscriptionEventHandler (in CSSubscriptionEventHandler.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

protected ISysLogWriter Logger { get; set; }

Property Value

Type: ISysLogWriter
a ISysLogWriterthat implements a logger.
Exceptions

ExceptionCondition
InvalidOperationExceptionLogger is already created.
Remarks

The property is read only when the logger has been created; otherwise, read write.

To create a logger of your own you must override the CreateLogger method and create it in that method.

See Also

Reference