C# Class WikiFunctions.Logging.TraceListenerBase

This abstract class can be used to build trace listener classes, or you can build a class from scratch and implement IMyTraceListener
Inheritance: System.IO.StreamWriter, WikiFunctions.Logging.IMyTraceListener
显示文件 Open project: reedy/AutoWikiBrowser

Public Methods

Method Description
GetArticleTemplate ( string articleFullTitle, int ns ) : string
ProcessingArticle ( string fullArticleTitle, int ns ) : void
SkippedArticle ( string skippedBy, string reason ) : void
SkippedArticleBadTag ( string skippedBy, string fullArticleTitle, int ns ) : void
SkippedArticleRedlink ( string skippedBy, string fullArticleTitle, int ns ) : void
WriteArticleActionLine ( string line, string pluginName ) : void
WriteArticleActionLine ( string line, string pluginName, bool verboseOnly ) : void
WriteArticleActionLineVerbose ( string line, string pluginName, bool verboseOnly ) : void
WriteBulletedLine ( string line, bool bold, bool verboseOnly ) : void
WriteBulletedLine ( string line, bool bold, bool verboseOnly, bool dateStamp ) : void
WriteComment ( string line ) : void
WriteCommentAndNewLine ( string line ) : void
WriteTemplateAdded ( string templateName, string pluginName ) : void

Protected Methods

Method Description
TraceListenerBase ( string filename ) : System.Text.RegularExpressions

Method Details

GetArticleTemplate() public static method

public static GetArticleTemplate ( string articleFullTitle, int ns ) : string
articleFullTitle string
ns int
return string

ProcessingArticle() public abstract method

public abstract ProcessingArticle ( string fullArticleTitle, int ns ) : void
fullArticleTitle string
ns int
return void

SkippedArticle() public abstract method

public abstract SkippedArticle ( string skippedBy, string reason ) : void
skippedBy string
reason string
return void

SkippedArticleBadTag() public abstract method

public abstract SkippedArticleBadTag ( string skippedBy, string fullArticleTitle, int ns ) : void
skippedBy string
fullArticleTitle string
ns int
return void

SkippedArticleRedlink() public method

public SkippedArticleRedlink ( string skippedBy, string fullArticleTitle, int ns ) : void
skippedBy string
fullArticleTitle string
ns int
return void

TraceListenerBase() protected method

protected TraceListenerBase ( string filename ) : System.Text.RegularExpressions
filename string
return System.Text.RegularExpressions

WriteArticleActionLine() public abstract method

public abstract WriteArticleActionLine ( string line, string pluginName ) : void
line string
pluginName string
return void

WriteArticleActionLine() public method

public WriteArticleActionLine ( string line, string pluginName, bool verboseOnly ) : void
line string
pluginName string
verboseOnly bool
return void

WriteArticleActionLineVerbose() public method

public WriteArticleActionLineVerbose ( string line, string pluginName, bool verboseOnly ) : void
line string
pluginName string
verboseOnly bool
return void

WriteBulletedLine() public method

public WriteBulletedLine ( string line, bool bold, bool verboseOnly ) : void
line string
bold bool
verboseOnly bool
return void

WriteBulletedLine() public abstract method

public abstract WriteBulletedLine ( string line, bool bold, bool verboseOnly, bool dateStamp ) : void
line string
bold bool
verboseOnly bool
dateStamp bool
return void

WriteComment() public abstract method

public abstract WriteComment ( string line ) : void
line string
return void

WriteCommentAndNewLine() public abstract method

public abstract WriteCommentAndNewLine ( string line ) : void
line string
return void

WriteTemplateAdded() public abstract method

public abstract WriteTemplateAdded ( string templateName, string pluginName ) : void
templateName string
pluginName string
return void