HttpAgent has the listener that receives the logs and the logger that handles the received logs
| 99 | |
| 100 | // HttpAgent has the listener that receives the logs and the logger that handles the received logs |
| 101 | type HttpAgent struct { |
| 102 | listener *LogsApiHttpListener |
| 103 | logger *S3Logger |
| 104 | } |
| 105 | |
| 106 | // NewHttpAgent returns an agent to listen and handle logs coming from Logs API for HTTP |
| 107 | // Make sure the agent is initialized by calling Init(agentId) before subscription for the Logs API. |
nothing calls this directly
no outgoing calls
no test coverage detected