LogToDbService<(Of <(<'TLogEntry>)>)> Members
The LogToDbService<(Of <(<'TLogEntry>)>)> type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
LogToDbService<(Of <(<'TLogEntry>)>)> |
Instantiate logger backed by Entity Framework
|
Methods
| Name | Description | |
|---|---|---|
|
|
BeginScope<(Of <<'(TState>)>>) | (Inherited from LogService.) |
|
|
Dispose(Boolean) | |
|
|
Dispose()()()() | (Inherited from LogService.) |
|
|
EntryMask | (Inherited from LogService.) |
|
|
Equals(System.Object) | (Inherited from Object.) |
|
|
Finalize | (Inherited from Object.) |
|
|
GetHashCode | (Inherited from Object.) |
|
|
GetType | (Inherited from Object.) |
|
|
IsEnabled | (Inherited from LogService.) |
|
|
Log<(Of <<'(TState>)>>) | (Inherited from LogService.) |
|
|
LogDbOperation |
Log database-related output (if their logging is enabled)
(Inherited from LogService.) |
|
|
LogEntity |
Log properties of entity object (Inherited from LogService.) |
|
|
LogError |
Log exception or other (critical) error
(Inherited from LogService.) |
|
|
LogHighlight |
Log short title-style message to output (Inherited from LogService.) |
|
|
LogMessage |
Log general-purpose message. (Inherited from LogService.) |
|
|
LogWarning |
Log information that indicates a possible problem or minor error
(Inherited from LogService.) |
|
|
MemberwiseClone | (Inherited from Object.) |
|
|
SetColumnWidths |
Set text-mode (Console and Trace) table for entity properties column widths in characters
(Inherited from LogService.) |
|
|
ToString | (Inherited from Object.) |
|
|
WriteLog(LogLevel, String, Nullable<(Of <<'(LogEntrySource>)>>), Nullable<(Of <<'(Guid>)>>), Nullable<(Of <<'(ConsoleColor>)>>)) | |
|
|
WriteLog(LogLevel, String, Nullable<(Of <<'(LogEntrySource>)>>), Nullable<(Of <<'(Guid>)>>), Nullable<(Of <<'(ConsoleColor>)>>)) |
Implementation of saving log entries
(Inherited from LogService.) |
Properties
| Name | Description | |
|---|---|---|
|
|
DbCommandLogEnabled |
Log SQL commands issued by Entity Framework (default: false) (Inherited from LogService.) |
|
|
DbEntriesCacheSize |
Send log entries to database when this number of entries are pending in cache
|
|
|
DefaultFgColor |
Base text color for Console Output (Inherited from LogService.) |
|
|
DefaultSinks |
Output target of non-error messages (Inherited from LogService.) |
|
|
ErrorSinks |
Output target of error messages (Inherited from LogService.) |
|
|
EventLogName |
Name of the Windows Event log name associated with this instance (Inherited from LogService.) |
|
|
EventSource |
Name of the Windows Event log source associated with this instance (Inherited from LogService.) |
|
|
LogJsonError | (Inherited from LogService.) |
|
|
NameColumnWidth | (Inherited from LogService.) |
|
|
TableRowMaxWidth | (Inherited from LogService.) |
|
|
TypeColumnWidth | (Inherited from LogService.) |
|
|
ValueColumnWidth | (Inherited from LogService.) |
Events
| Name | Description | |
|---|---|---|
|
|
LogDbEntryCreated |
Hook custom delegate here to define action when log entries are created
|

