Flush the remaining data in the buffer and close the
connection to the remote fluent host.
If the data in the buffer can't be sent it is discarded and
the buffer is cleared.
It is possible to continue using the $(D_PSYMBOL FluentLogger) after close()
has been called. The next call to write (or post) will
open a new connection to the fluent host. But doing this is discouraged
because in general it is expected that no further operations
are performed after calling close() on implementations of $(D_PSYMBOL Logger).
Flush the remaining data in the buffer and close the connection to the remote fluent host.
If the data in the buffer can't be sent it is discarded and the buffer is cleared.
It is possible to continue using the $(D_PSYMBOL FluentLogger) after close() has been called. The next call to write (or post) will open a new connection to the fluent host. But doing this is discouraged because in general it is expected that no further operations are performed after calling close() on implementations of $(D_PSYMBOL Logger).