Skip to content

economicmodeling/vibed-datadog-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

vibed-datadog-logger

Datadog logger implementation for Vibe.d

Example

void main()
{
    import vibe.core.log : logInfo, registerLogger;
    import vibe_datadog_logger : DatadogInfo, DatadogLogger;
    import core.time : dur;

    DatadogInfo info;
    info.ingestEndpoint = "https://http-intake.logs.datadoghq.com";
    info.apiKey = "1234567890";
    info.sourceName = "myApp";
    info.serviceName = "datadog-logger";
    info.hostName = "linux-x64";
    info.environment = "prod";

    auto l = cast(shared) new DatadogLogger(info, dur!"seconds"(5), 30);
    registerLogger(l);
}

About

Datadog logging implementation for Vibe.d

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages