public this(const ElasticInfo elasticInfo, const IndexCreator indexCreator, const Duration maxLogInterval, const size_t messageQueueSize)

Parameters

elasticInfoConnection information to use when logging messages.
indexCreatorA function that will return the name of the index to log to.
maxLogIntervalIf 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.
messageQueueSizeNumber of log messages to queue between writes to ElasticSearch.