C# Class Marten.ConsoleMartenLogger

Inheritance: IMartenLogger, IMartenSessionLogger
ファイルを表示 Open project: JasperFx/marten

Public Methods

Method Description
LogFailure ( NpgsqlCommand command, Exception ex ) : void
LogSuccess ( NpgsqlCommand command ) : void
RecordSavedChanges ( IDocumentSession session, IChangeSet commit ) : void
SchemaChange ( string sql ) : void
StartSession ( IQuerySession session ) : IMartenSessionLogger

Method Details

LogFailure() public method

public LogFailure ( NpgsqlCommand command, Exception ex ) : void
command Npgsql.NpgsqlCommand
ex System.Exception
return void

LogSuccess() public method

public LogSuccess ( NpgsqlCommand command ) : void
command Npgsql.NpgsqlCommand
return void

RecordSavedChanges() public method

public RecordSavedChanges ( IDocumentSession session, IChangeSet commit ) : void
session IDocumentSession
commit IChangeSet
return void

SchemaChange() public method

public SchemaChange ( string sql ) : void
sql string
return void

StartSession() public method

public StartSession ( IQuerySession session ) : IMartenSessionLogger
session IQuerySession
return IMartenSessionLogger