Table of Contents

Class LogDbService

Namespace
HeBianGu.Systems.Logger
Assembly
HeBianGu.Systems.Logger.dll
public class LogDbService : ServiceSettingInstance<LogDbService, ILogService>, INotifyPropertyChanged, IDisplayer, ISetting, ILogService, ILogDbServiceOption
Inheritance
LogDbService
Implements
Inherited Members
Extension Methods

Properties

DebugRepository

[Browsable(false)]
protected IStringRepository<hl_dm_debug> DebugRepository { get; }

Property Value

IStringRepository<hl_dm_debug>

ErrorRepository

[Browsable(false)]
protected IStringRepository<hl_dm_error> ErrorRepository { get; }

Property Value

IStringRepository<hl_dm_error>

FatalRepository

[Browsable(false)]
protected IStringRepository<hl_dm_fatal> FatalRepository { get; }

Property Value

IStringRepository<hl_dm_fatal>

InfoRepository

[Browsable(false)]
protected IStringRepository<hl_dm_info> InfoRepository { get; }

Property Value

IStringRepository<hl_dm_info>

UseDebug

[Display(Name = "启用操作日志记录")]
public bool UseDebug { get; set; }

Property Value

bool

UseInfo

[Display(Name = "启用运行日志记录")]
public bool UseInfo { get; set; }

Property Value

bool

UsePresenter

[Display(Name = "应用消息列表")]
public bool UsePresenter { get; set; }

Property Value

bool

WarnRepository

[Browsable(false)]
protected IStringRepository<hl_dm_warn> WarnRepository { get; }

Property Value

IStringRepository<hl_dm_warn>

Methods

Debug(params string[])

public void Debug(params string[] messages)

Parameters

messages string[]

Error(params Exception[])

public void Error(params Exception[] messages)

Parameters

messages Exception[]

Error(params string[])

public void Error(params string[] messages)

Parameters

messages string[]

Fatal(params Exception[])

public void Fatal(params Exception[] messages)

Parameters

messages Exception[]

Fatal(params string[])

public void Fatal(params string[] messages)

Parameters

messages string[]

Info(params string[])

public void Info(params string[] messages)

Parameters

messages string[]

Trace(params string[])

public void Trace(params string[] messages)

Parameters

messages string[]

Warn(params string[])

public void Warn(params string[] messages)

Parameters

messages string[]