public class LogSender extends Object
| Constructor and Description |
|---|
LogSender(ApiConfiguration apiConfig,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
Masker masker)
Default constructor
|
LogSender(ApiConfiguration apiConfig,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
Masker masker,
boolean skipJson)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
send(LogMsgGroup group)
Sends a group of log messages to Stackify
|
public LogSender(@NonNull
ApiConfiguration apiConfig,
@NonNull
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
Masker masker,
boolean skipJson)
apiConfig - API configurationobjectMapper - JSON object mappermasker - Message MaskerskipJson - Messages detected w/ json will have the #SKIPJSON tag addedpublic LogSender(@NonNull
ApiConfiguration apiConfig,
@NonNull
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
Masker masker)
apiConfig - API configurationobjectMapper - JSON object mappermasker - Message Maskerpublic int send(LogMsgGroup group) throws IOException
group - The log message groupIOExceptionCopyright © 2019 Stackify, LLC. All rights reserved.