【文件属性】:
文件名称:fluent-logger-d:Fluentd 的结构化记录器 (D)
文件大小:120KB
文件格式:ZIP
更新时间:2021-06-14 11:36:02
JavaScript
流利的记录器
Fluent 的结构化事件记录器
用法
struct Event
{
string text = " This is D " ;
long id = 0 ;
}
// ...
import fluent.logger;
// Create a configuration
FluentLogger.Configuration conf;
// Create a logger with tag prefix and configuration
auto logger = new FluentLogger( " app " , conf);
// Write Event object with "test" tag to Fluentd
logger.post( " test " , Event());
// Disconnect and perform
【文件预览】:
fluent-logger-d-master
----LICENSE.txt(11KB)
----dub.json(855B)
----src()
--------fluent()
----html()
--------candydoc()
----README.markdown(2KB)
----example()
--------post_mt.d(692B)
--------post.d(466B)
----.gitignore(46B)
----posix.mak(883B)