C# Class WebAnalytics.DataLayer.LogParser

Inheritance: IDisposable
Afficher le fichier Open project: projectkudu/IISLogAnalyzerSiteExtension Class Usage Examples

Private Properties

Свойство Type Description
CheckGrammer bool
FindFields void
LineHas bool
SetFields void

Méthodes publiques

Méthode Description
Dispose ( ) : void
ParseW3CFormat ( ) : IEnumerable
StripFields ( string unformattedFields ) : void

Given a string where `#Fields` is the beginning, strip out all the fields that W3C format uses for logs

setTimes ( System.DateTime start, System.DateTime end ) : void

To shorten the parse and quicken the speed, provide the times the user is interested in. So that it will not have to parse raw data that at the higher level the user will not be using

Private Methods

Méthode Description
CheckGrammer ( string data, string operation ) : bool
FindFields ( ) : void
LineHas ( string line ) : bool
SetFields ( ) : void

Set the fields for the specific log format that we are dealing with, by default this uses the W3C Extended format. On version 2 or later versions, other log formats will be implemented.

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ParseW3CFormat() public méthode

public ParseW3CFormat ( ) : IEnumerable
Résultat IEnumerable

StripFields() public méthode

Given a string where `#Fields` is the beginning, strip out all the fields that W3C format uses for logs
public StripFields ( string unformattedFields ) : void
unformattedFields string
Résultat void

setTimes() public méthode

To shorten the parse and quicken the speed, provide the times the user is interested in. So that it will not have to parse raw data that at the higher level the user will not be using
public setTimes ( System.DateTime start, System.DateTime end ) : void
start System.DateTime
end System.DateTime
Résultat void