Summary
MartenLogger.
Implements the
Marten.IMartenLogger
Implements the Marten.IMartenSessionLogger
- Assembly
- Rocket
.Surgery .Extensions .Marten .dll - Namespace
- Rocket
.Surgery .Extensions .Marten - Interfaces
-
- IMartenLogger
- IMartenSessionLogger
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IMartenLogger"]
Type-.->Interface1["IMartenSessionLogger"]
Type["MartenLogger"]
class Type type-node
Syntax
public class MartenLogger : IMartenLogger, IMartenSessionLogger
Attributes
Type | Description |
---|---|
Nullable |
|
NullableAttribute |
Constructors
Name | Summary |
---|---|
MartenLogger |
Initializes a new instance of the MartenLogger class.
|
Methods
Name | Value | Summary |
---|---|---|
LogFailure |
void |
Log a command that failed
|
LogSuccess |
void |
Log a command that executed successfully
|
RecordSavedChanges |
void |
Records the saved changes.
|
SchemaChange |
void |
Schemas the change.
|
StartSession |
IMartenSessionLogger |
Starts the session.
|
Extension Methods
Name | Value | Summary |
---|---|---|
SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|
See Also
- Marten.IMartenLogger
- Marten.IMartenSessionLogger