Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (21 sloc) 0.466 kb
import core.thread;
import std.stdio;
import fluent.logger;
struct S
{
string text = "D";
ulong count = 0;
}
void main()
{
Logger logger = new FluentLogger("debug", FluentLogger.Configuration());
for (size_t i; i < 100; i++) {
if (logger.post("test", S("Testing...", i)))
writeln("Pong!");
else
writeln("Failed");
Thread.sleep(dur!("msecs")(10));
}
destroy(logger);
writeln("End");
}
Jump to Line
Something went wrong with that request. Please try again.