Cargo Features

[dependencies]
log_loki = { version = "0.1.1", default-features = false, features = ["tls", "tls-native-certs", "compress", "kv_unstable", "logfmt"] }
tls default

Enable support for TLS-enabled Loki hosts with ureq/tls

Enables rustls ^0.20.1, tls of ureq

tls-native-certs default

Use your system's certificate store instread of webpki-roots

Enables native-certs of ureq

compress default

Compress outgoing logs with gzip via the flate2 crate

Enables flate2

kv_unstable

Enable unstable key value support for structured logging

Enables kv_unstable of log

logfmt default

Enable logfmt format support

Enables bitflags ^1.3.2

default = compress, logfmt, tls, tls-native-certs

Default options