C# Class LightFramework.Tracing.DBLogAppender

DBLogAppender提供把日志信息输出到数据库的相关方法与数据。
Inheritance: ILogAppender
Exibir arquivo Open project: xianrendzw/LightFramework.Net

Public Properties

Property Type Description
Instance DBLogAppender

Public Methods

Method Description
Append ( MetaLog metaLog ) : void

把日志信息输出到数据库的方法。

DBLogAppender ( ) : System

构造函数。

Private Methods

Method Description
AttachParameters ( IDbCommand command, DbParameter dbParameters ) : void
CreateCommand ( DbMetaLog dblog, IDbConnection conn ) : IDbCommand
CreateConnection ( DbDialect dbDialect, string connstr ) : DbConnection
CreateDbParameter ( DbDialect dbDialect, string name, object value ) : DbParameter

Method Details

Append() public method

把日志信息输出到数据库的方法。
public Append ( MetaLog metaLog ) : void
metaLog MetaLog 日志数据封送对象
return void

DBLogAppender() public method

构造函数。
public DBLogAppender ( ) : System
return System

Property Details

Instance public_oe static_oe property

DBLogAppender的单件.
public static DBLogAppender,LightFramework.Tracing Instance
return DBLogAppender