LokiApiAppender constructor
LokiApiAppender({})
Implementation
LokiApiAppender({
required this.server,
required this.username,
required this.password,
required this.labels,
}) : labelsString =
'{${labels.entries.map((entry) => '${entry.key}="${entry.value}"').join(',')}}',
authHeader = 'Basic ${base64.encode(utf8.encode([
username,
password
].join(':')))}';