C# Class MetroLog.Targets.SQLiteTarget

Defines a target that is able to write to a SQLite database.
Inheritance: AsyncTarget
Afficher le fichier Open project: onovotny/MetroLog

Private Properties

Свойство Type Description
CheckCleanup System.Threading.Tasks.Task
DoEnsureInitialize System.Threading.Tasks.Task
EnsureInitialize System.Threading.Tasks.Task
GetConnection SQLite.SQLiteAsyncConnection
GetSessionAsync Task
PackageToTempFileAsync Task

Méthodes publiques

Méthode Description
AppendLevel ( StringBuilder builder, List args, LogLevel level, bool &first ) : void
PackageToTempFileAsync ( LogReadQuery query, int maxPayloadMb = 5*(1024*1024) ) : Task
ReadLogEntriesAsync ( LogReadQuery query ) : Task
SQLiteTarget ( ) : MetroLog.Layouts
SQLiteTarget ( Layout layout ) : MetroLog.Layouts

Méthodes protégées

Méthode Description
WriteAsyncCore ( LogWriteContext context, LogEventInfo entry ) : Task

Private Methods

Méthode Description
CheckCleanup ( ) : System.Threading.Tasks.Task
DoEnsureInitialize ( ) : System.Threading.Tasks.Task
EnsureInitialize ( ) : System.Threading.Tasks.Task
GetConnection ( ) : SQLite.SQLiteAsyncConnection
GetSessionAsync ( ILoggingEnvironment environment ) : Task
PackageToTempFileAsync ( MetroLog.Targets.ReadLogEntriesResult result, int maxPayloadMb = 5*(1024*1024) ) : Task

Method Details

AppendLevel() public méthode

public AppendLevel ( StringBuilder builder, List args, LogLevel level, bool &first ) : void
builder StringBuilder
args List
level LogLevel
first bool
Résultat void

PackageToTempFileAsync() public méthode

public PackageToTempFileAsync ( LogReadQuery query, int maxPayloadMb = 5*(1024*1024) ) : Task
query LogReadQuery
maxPayloadMb int
Résultat Task

ReadLogEntriesAsync() public méthode

public ReadLogEntriesAsync ( LogReadQuery query ) : Task
query LogReadQuery
Résultat Task

SQLiteTarget() public méthode

public SQLiteTarget ( ) : MetroLog.Layouts
Résultat MetroLog.Layouts

SQLiteTarget() public méthode

public SQLiteTarget ( Layout layout ) : MetroLog.Layouts
layout MetroLog.Layouts.Layout
Résultat MetroLog.Layouts

WriteAsyncCore() protected méthode

protected WriteAsyncCore ( LogWriteContext context, LogEventInfo entry ) : Task
context LogWriteContext
entry LogEventInfo
Résultat Task