LogWriter typedef

LogWriter = void Function(LogRecord record)

A function that handles log records from the process or internal operations.

This callback receives all output from the managed process (stdout/stderr) as well as internal status messages from ProcessVisor itself.

Implementation

typedef LogWriter = void Function(LogRecord record);