0 | ||| File-based logging actions.
8 | ||| A LogAction that writes strings to a file handle, one per line.
9 | |||
10 | ||| File errors are silently ignored. Use this for best-effort logging
11 | ||| where a write failure should not crash the application.
16 | ||| Run a computation with a LogAction writing to a file in append mode.
17 | |||
18 | ||| Opens the file, passes the log action to the callback, and closes
19 | ||| the file when done. Returns `Left` on open failure, `Right` with
20 | ||| the callback's result on success.
21 | export