C# Class LoggenCSG.Generator

Inheritance: Core.Generator, IDisposable
Afficher le fichier Open project: artzub/LoggenCSG

Protected Properties

Свойство Type Description
Logout string
haveStater bool
loggers Appender>.Dictionary
users bool>.Dictionary

Private Properties

Свойство Type Description
InitLogfile void
MakeRule string
ReplaceForLog string

Méthodes publiques

Méthode Description
Dispose ( ) : void
Generator ( Google auth, IStater stater = null ) : System
Generator ( string apiKey, IStater stater = null ) : System
LogGen ( Appender>.Dictionary loggers, Core.Visualizers typelog, string>.Dictionary rules, ActivityCont>.KeyValuePair dicitem ) : void

Méthodes protégées

Méthode Description
ApplyPattern ( string pattern, PatternItem item, string prefix = "", string prefixignore = null ) : string
DateString ( string date, DateType type ) : string
ForTitle ( string input, int length = 20 ) : string
GenerateLog ( Core insetting = null ) : object
GenerateLogs ( ActivityCont>.Dictionary data, GeneratorSetting setting, Appender>.Dictionary loggers ) : void
GetActor ( Google actor, Core.Visualizers logType ) : string
GetTypePatternName ( TypePattern type ) : string
InRange ( System.DateTime from, System.DateTime to, string current ) : bool
IsOutLeft ( System.DateTime from, string current ) : bool
IsOutRight ( System.DateTime to, string current ) : bool
ReplacePattern ( PatternOption option ) : string
WriteLog ( Exception e, object sender ) : void
WriteLog ( string message, object sender, bool error = false ) : void
doGenerate ( GeneratorSetting setting, string pid, int depth ) : void

Private Methods

Méthode Description
InitLogfile ( ) : void
MakeRule ( string name, string prefix = "", string prefixignore = null ) : string
ReplaceForLog ( string p ) : string

Method Details

ApplyPattern() protected static méthode

protected static ApplyPattern ( string pattern, PatternItem item, string prefix = "", string prefixignore = null ) : string
pattern string
item PatternItem
prefix string
prefixignore string
Résultat string

DateString() protected static méthode

protected static DateString ( string date, DateType type ) : string
date string
type DateType
Résultat string

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ForTitle() protected static méthode

protected static ForTitle ( string input, int length = 20 ) : string
input string
length int
Résultat string

GenerateLog() protected méthode

protected GenerateLog ( Core insetting = null ) : object
insetting Core
Résultat object

GenerateLogs() protected méthode

protected GenerateLogs ( ActivityCont>.Dictionary data, GeneratorSetting setting, Appender>.Dictionary loggers ) : void
data ActivityCont>.Dictionary
setting GeneratorSetting
loggers Appender>.Dictionary
Résultat void

Generator() public méthode

public Generator ( Google auth, IStater stater = null ) : System
auth Google
stater IStater
Résultat System

Generator() public méthode

public Generator ( string apiKey, IStater stater = null ) : System
apiKey string
stater IStater
Résultat System

GetActor() protected static méthode

protected static GetActor ( Google actor, Core.Visualizers logType ) : string
actor Google
logType Core.Visualizers
Résultat string

GetTypePatternName() protected static méthode

protected static GetTypePatternName ( TypePattern type ) : string
type TypePattern
Résultat string

InRange() protected méthode

protected InRange ( System.DateTime from, System.DateTime to, string current ) : bool
from System.DateTime
to System.DateTime
current string
Résultat bool

IsOutLeft() protected méthode

protected IsOutLeft ( System.DateTime from, string current ) : bool
from System.DateTime
current string
Résultat bool

IsOutRight() protected méthode

protected IsOutRight ( System.DateTime to, string current ) : bool
to System.DateTime
current string
Résultat bool

LogGen() public static méthode

public static LogGen ( Appender>.Dictionary loggers, Core.Visualizers typelog, string>.Dictionary rules, ActivityCont>.KeyValuePair dicitem ) : void
loggers Appender>.Dictionary
typelog Core.Visualizers
rules string>.Dictionary
dicitem ActivityCont>.KeyValuePair
Résultat void

ReplacePattern() protected static méthode

protected static ReplacePattern ( PatternOption option ) : string
option PatternOption
Résultat string

WriteLog() protected static méthode

protected static WriteLog ( Exception e, object sender ) : void
e System.Exception
sender object
Résultat void

WriteLog() protected static méthode

protected static WriteLog ( string message, object sender, bool error = false ) : void
message string
sender object
error bool
Résultat void

doGenerate() protected méthode

protected doGenerate ( GeneratorSetting setting, string pid, int depth ) : void
setting GeneratorSetting
pid string
depth int
Résultat void

Property Details

Logout protected_oe static_oe property

protected static string Logout
Résultat string

haveStater protected_oe property

protected bool haveStater
Résultat bool

loggers protected_oe property

protected Dictionary loggers
Résultat Appender>.Dictionary

users protected_oe property

protected Dictionary users
Résultat bool>.Dictionary