Skip to end of metadata
Go to start of metadata

Represents the entity framework log source.

Definition

public class EntityFrameworkLogSource : LogSource

Summary

The following table summarizes the members exposed in this class.

Public Constructors

EntityFrameworkLogSource Constructor(string) Initializes a new instance of the EntityFrameworkLogSource class with a name.
EntityFrameworkLogSource Constructor(string, SourceLevel) Initializes a new instance of the EntityFrameworkLogSource class with a name and a level.
EntityFrameworkLogSource Constructor(string, List<TraceListener>, SourceLevel) Initializes a new instance of the EntityFrameworkLogSource class with a name, a collection of TraceListeners and a level.
EntityFrameworkLogSource Constructor(string, SourceLevel, bool) Initializes a new instance of the EntityFrameworkLogSource class with a name, a collection of TraceListeners, a level and the auto flush.
EntityFrameworkLogSource Constructor(string, CategoryFilter, SourceLevel) Initializes a new instance of the LogSource class with a name, a collection of TraceListeners, a level and the auto flush.
EntityFrameworkLogSource Constructor(string, CategoryFilter, SourceLevel, bool) Initializes a new instance of the EntityFrameworkLogSource class with a name, a collection of TraceListeners, a level and the auto flush.

Public Constructors

public EntityFrameworkLogSource(string name)

Initializes a new instance of the EntityFrameworkLogSource class with a name.

Parameters

name The name for the instance.

public EntityFrameworkLogSource(string name, SourceLevel level)

Initializes a new instance of the EntityFrameworkLogSource class with a name and a level.

Parameters

name The name for the instance.
level The SourceLevel value.

public EntityFrameworkLogSource(string name, List<TraceListener> traceListeners, SourceLevel level)

Initializes a new instance of the EntityFrameworkLogSource class with a name, a collection of TraceListeners and a level.

Parameters

name The name for the instance.
traceListeners The collection of TraceListeners.
level The SourceLevel value.

public EntityFrameworkLogSource(string name, SourceLevel level, bool autoFlush)

Initializes a new instance of the EntityFrameworkLogSource class with a name, a collection of TraceListeners, a level and the auto flush.

Parameters

name The name for the instance.
level The SourceLevel value.
autoFlush If Flush should be called on the Listeners after every write.

public EntityFrameworkLogSource(string name, CategoryFilter categoryFilter, SourceLevel level)

Initializes a new instance of the LogSource class with a name, a collection of TraceListeners, a level and the auto flush.

Parameters

name The name for the instance.
categoryFilter The category filter..
level The SourceLevel value.

public EntityFrameworkLogSource(string name, CategoryFilter categoryFilter, SourceLevel level, bool autoFlush)

Initializes a new instance of the EntityFrameworkLogSource class with a name, a collection of TraceListeners, a level and the auto flush.

Parameters

name The name for the instance.
categoryFilter The category filter.
level The SourceLevel value.
autoFlush If Flush should be called on the Listeners after every write.
  • No labels