- data LogStr
- = LS !String
- | LB !ByteString
- hPutLogStr :: Handle -> [LogStr] -> IO ()
- hPutBuilder :: Handle -> Builder -> IO ()
- initHandle :: Handle -> IO ()
Documentation
hPutLogStr :: Handle -> [LogStr] -> IO ()Source
The hPut
function directory to copy a lift of LogStr
to the buffer.
hPutBuilder :: Handle -> Builder -> IO ()Source
The hPut
function directory to copy Builder
to the buffer.
The current implementation is inefficient at this moment.
initHandle
must be called once beforehand if this function is used.