public class FluentHelper extends Object
Constructor and Description |
---|
FluentHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
sendJson(org.fluentd.logger.FluentLogger fluentLogger,
String tag,
Map<String,String> envVars,
String extensionJson,
String json,
long startTimeInMillis)
Extends original json and sends it to
FluentLogger |
public static void sendJson(org.fluentd.logger.FluentLogger fluentLogger, String tag, Map<String,String> envVars, String extensionJson, String json, long startTimeInMillis) throws IllegalArgumentException
FluentLogger
fluentLogger
- logger for publishing datatag
- fluentd tagenvVars
- environment variablesextensionJson
- json that would be used as extensionjson
- json that would be extendstartTimeInMillis
- job start time in millisecondsIllegalArgumentException
- if specified json can not be parsed.Copyright © 2016–2018. All rights reserved.