FluentLogger.write

Write an array of ubyte to the logger. Client code should generally use the post() functions of $(D_PSYMBOL Logger) instead of calling write() directly.

class FluentLogger
override
bool
write
(
in ubyte[] data
)

Parameters

data ubyte[]

The data to be written.

Return Value

Type: bool

True if the data was successfully sent to the fluent host. False if the data was queued for sending later but no attempt was made to send to the remote host because of a previous error.

Throws

$(D_PSYMBOL SocketException) if an error occurs sending data to the fluent host.

See Also

post

Meta