Logger.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 Logger
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.

See Also

post

Meta