sylar- 服务器框架
2022-01-22 02:26:50 11 举报
sylar- 服务器框架类图
作者其他创作
大纲/内容
继承
LogAppender
-level:LogLevel-formatter:LogFormatter
+log()+toYamlString()
ConfigVarBase
-name:string-description:string
+fromString()+toString()
template<T>LexicalCast<std::vector<T> >
+operator()(F):T
MessageFormatItem
+fomat()
1:N
Logger
-name:string-level:LogLevel-appenders:std::vector<LogAppender:;ptr>-formatter:LogFormatter
+log()+debug()+info()+warn()+error()+fatal()+addAppender()+delAppender()+clrAppender()+setFormatter()+setLevel()
1:1
Config
-variables:map<>
+Lookup()+Lookup()
FileLogAppender
-file:string
FormatterItem
-format()
StdoutLogAppender
LogFomatter
-formatter:string-items:std:vector<FormatterItem>
+format()
-val:T
+toString()+fromString()+getValue()
类
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
+ operation1(params):returnType- operation2(params)- operation3()
收藏
0 条评论
下一页