ElasticLogger.this

class ElasticLogger
this

Parameters

elasticInfo ElasticInfo

Connection information to use when logging messages.

indexCreator IndexCreator

A function that will return the name of the index to log to.

maxLogInterval Duration

If a log message is received and more than this amount of time has passed since the last flush, trigger a flush regardless of the remaining space in the buffer.

messageQueueSize size_t

Number of log messages to queue between writes to ElasticSearch.

Meta