C# Класс LoggenCSG.Generator

Наследование: Core.Generator, IDisposable
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
Logout string
haveStater bool
loggers Appender>.Dictionary
users bool>.Dictionary

Private Properties

Свойство Тип Описание
InitLogfile void
MakeRule string
ReplaceForLog string

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
InitLogfile ( ) : void
MakeRule ( string name, string prefix = "", string prefixignore = null ) : string
ReplaceForLog ( string p ) : string

Описание методов

ApplyPattern() защищенный статический Метод

protected static ApplyPattern ( string pattern, PatternItem item, string prefix = "", string prefixignore = null ) : string
pattern string
item PatternItem
prefix string
prefixignore string
Результат string

DateString() защищенный статический Метод

protected static DateString ( string date, DateType type ) : string
date string
type DateType
Результат string

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

ForTitle() защищенный статический Метод

protected static ForTitle ( string input, int length = 20 ) : string
input string
length int
Результат string

GenerateLog() защищенный Метод

protected GenerateLog ( Core insetting = null ) : object
insetting Core
Результат object

GenerateLogs() защищенный Метод

protected GenerateLogs ( ActivityCont>.Dictionary data, GeneratorSetting setting, Appender>.Dictionary loggers ) : void
data ActivityCont>.Dictionary
setting GeneratorSetting
loggers Appender>.Dictionary
Результат void

Generator() публичный Метод

public Generator ( Google auth, IStater stater = null ) : System
auth Google
stater IStater
Результат System

Generator() публичный Метод

public Generator ( string apiKey, IStater stater = null ) : System
apiKey string
stater IStater
Результат System

GetActor() защищенный статический Метод

protected static GetActor ( Google actor, Core.Visualizers logType ) : string
actor Google
logType Core.Visualizers
Результат string

GetTypePatternName() защищенный статический Метод

protected static GetTypePatternName ( TypePattern type ) : string
type TypePattern
Результат string

InRange() защищенный Метод

protected InRange ( System.DateTime from, System.DateTime to, string current ) : bool
from System.DateTime
to System.DateTime
current string
Результат bool

IsOutLeft() защищенный Метод

protected IsOutLeft ( System.DateTime from, string current ) : bool
from System.DateTime
current string
Результат bool

IsOutRight() защищенный Метод

protected IsOutRight ( System.DateTime to, string current ) : bool
to System.DateTime
current string
Результат bool

LogGen() публичный статический Метод

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
Результат void

ReplacePattern() защищенный статический Метод

protected static ReplacePattern ( PatternOption option ) : string
option PatternOption
Результат string

WriteLog() защищенный статический Метод

protected static WriteLog ( Exception e, object sender ) : void
e System.Exception
sender object
Результат void

WriteLog() защищенный статический Метод

protected static WriteLog ( string message, object sender, bool error = false ) : void
message string
sender object
error bool
Результат void

doGenerate() защищенный Метод

protected doGenerate ( GeneratorSetting setting, string pid, int depth ) : void
setting GeneratorSetting
pid string
depth int
Результат void

Описание свойств

Logout защищенное статическое свойство

protected static string Logout
Результат string

haveStater защищенное свойство

protected bool haveStater
Результат bool

loggers защищенное свойство

protected Dictionary loggers
Результат Appender>.Dictionary

users защищенное свойство

protected Dictionary users
Результат bool>.Dictionary