C# Class LogPlugin.ServiceLogs

Inheritance: IPlugin, ILogService
Exibir arquivo Open project: Invenietis/ck-certified

Public Properties

Property Type Description
PluginId INamedVersionedUniqueId

Private Properties

Property Type Description
Log void
Log void
OnEventCreated void
OnEventCreating void
PlanLogUpload void
Process NotifyError
WriteLineError NotifyError
WriteLineMember void
WriteLineParameters void
WriteLineReturnValueAndCaller void

Public Methods

Method Description
ServiceLogs ( ) : System
Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
Start ( ) : void
Stop ( ) : void
Teardown ( ) : void

Private Methods

Method Description
Log ( CK.Plugin.LogEventArgs e, string message, Common logLevel ) : void
Log ( string message, Common logLevel ) : void
OnEventCreated ( object sender, CK.Plugin.LogEventArgs e ) : void
OnEventCreating ( object sender, CK.Plugin.LogEventArgs e ) : void
PlanLogUpload ( ) : void
Process ( TextWriter w, CK.Plugin.LogEventArgs e ) : NotifyError

Returns true if the event is an error (holds an exception).

WriteLineError ( TextWriter w, CK.Plugin.LogEventArgs e ) : NotifyError
WriteLineMember ( TextWriter w, CK.Plugin.LogEventArgs e ) : void
WriteLineParameters ( TextWriter w, CK.Plugin.LogEventArgs e ) : void
WriteLineReturnValueAndCaller ( TextWriter w, CK.Plugin.LogEventArgs e ) : void

Method Details

ServiceLogs() public method

public ServiceLogs ( ) : System
return System

Setup() public method

public Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
info CK.Plugin.IPluginSetupInfo
return bool

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Teardown() public method

public Teardown ( ) : void
return void

Property Details

PluginId public_oe static_oe property

public static INamedVersionedUniqueId PluginId
return INamedVersionedUniqueId