Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Conversation

@insearching
Copy link

Can you please accept this changes in order to send raw log messages. without any metadata

…ng with logentries lib), if AndroidLogger.getInstance().setSendRawLogMessage(false) was set.
if (message != null) {
this.leClient.write(Utils.formatMessage(message.replace("\n", LINE_SEP_REPLACER),
logHostName, useHttpPost));
if(sendRawLogMessage){
Copy link

@rwtaylorjr rwtaylorjr Feb 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless i'm missing something, the variable name seems to contradict the intent. If sendRawLogMessage is true, the raw log message along with other information (TraceID, DeviceID, Timestamp, etc...) will be written to the output. Where as if sendRawLogMessage is false, it just sends the message without any additional meta-data.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants