Gorgon
Show / Hide Table of Contents

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 Source

Close(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.

| Edit this page View Source

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.

| Edit this page View Source

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.

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author