public this(const ElasticInfo elasticInfo, const IndexCreator indexCreator, const Duration maxLogInterval, const size_t messageQueueSize)
elasticInfo | Connection information to use when logging messages. |
indexCreator | A function that will return the name of the index to log to. |
maxLogInterval | 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 | Number of log messages to queue between writes to ElasticSearch. |