$(D_PSYMBOL FluentLogger) is a $(D_PSYMBOL Fluentd) client
Base class for Fluent loggers
struct Event { string text = "This is D"; long id = 0; } // Create a configuration FluentLogger.Configuration conf; conf.host = "backend1"; // 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()); // Fluentd accepts {"text":"This is D","id":0} at "app.test" input // Disconnect and perform cleanup logger.close(); // Or destroy(logger);
<a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
Copyright Masahiro Nakagawa 2012-.
Fluent logger implementation.
Fluentd is a missing event collector.