kyubi 系统架构类图
2021-10-15 14:58:25 27 举报
架构类图 Logger Config
作者其他创作
大纲/内容
FormatItem
- format()
DateTimeFormatItem
FiberIdFormatItem
ElapseFormatItem
- val:T
- opertor(F):T
template<T>LexicalCast<vector<T>>
FileAppender
- file:string
+ log()+ toYmamString()
- fromString()- toString()- getValue()
继承
NameFormatItem
Config
- variables:map<>
- Lookup()- Lookup()
TabFormatItem
FilenameFormatItem
NewLineFormatItem
LevelFormatItem
Logger
-name:string-level:LogLevel-appenders:std::vector<LogAppender>-formatter:LogFormatter
+ log()+ debug()+ info()+ warn()+ error()+ fatla()+ addAppender()+ delAppender()+ clearAppender()+ setFormatter()+ setLevel()
LogAppender
- level:LogLevel- formatter:LogFormatter
+ log()+ toYamlString()
1:1
ConfigVarBase
- name:string- description:string
- fromString()- toString()
1:N
MessageFormatItem
LogFormatter
- formatter:stringitems:std::vector<FormatItem>
+ format()
ThreadIdFormatItem
StdoutAppender
LineFormatItem
收藏
0 条评论
下一页