Share via


DataCacheLogSink Constructor

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Defines the parameters for an individual log sink and creates the object.

The DataCacheLogSink class is used by the CreateLogSinks method to enable individual log sinks on the cache client programmatically. For more information, see Log Sink Settings (Velocity) and How to: Set Log Sink Levels (Code) (Velocity).

Overload List

Name Description
DataCacheLogSink (DataCacheSinkType)
Defines the type of log sink and assigns a TraceLevel of Warning.
DataCacheLogSink (DataCacheSinkType, TraceLevel)
Defines the type of log sink and assigns the specified TraceLevel.
DataCacheLogSink (DataCacheSinkType, TraceLevel, String)
Defines the type of log sink and assigns the specified TraceLevel. This overload also enables setting additional log sink parameters.

See Also

Reference

DataCacheLogSink Class
DataCacheLogSink Members
Microsoft.Data.Caching Namespace