public class LogSender
extends java.lang.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 java.io.IOException
group - The log message groupjava.io.IOExceptionCopyright © 2017 Stackify, LLC. All Rights Reserved.