Interface IGorgonLogProvider
A provider that accesses a data store to store logging messages.
Namespace: Gorgon.Diagnostics.LogProviders
Assembly: Gorgon.Core.dll
Syntax
public interface IGorgonLogProvider
Methods
| Edit this page View SourceClose(string)
Function to close the data store for writing.
Declaration
void Close(string closingMessage = null)
Parameters
Type | Name | Description |
---|---|---|
string | closingMessage | [Optional] The message to write when closing. |
Open(string)
Function to open the data store for writing.
Declaration
void Open(string initialMessage = null)
Parameters
Type | Name | Description |
---|---|---|
string | initialMessage | [Optional] The initial message to write. |
SendMessage(string)
Function to write a message to the data store.
Declaration
void SendMessage(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message to write. |