Closed Geal closed 5 years ago
possible ideas:
set_non_blocking
set_blocking
AsRawFd
LoggerBackend
Write
with 842ee67 a Logger can be created from anything implementing Write
Logger
possible ideas:
set_non_blocking
(or better,set_blocking
) method and implementAsRawFd
to get access to the file descriptor to register in in mio and othersLoggerBackend
to hold an instance ofWrite
, and let the calling code set up the backend