LogRecord typedef

LogRecord = ({bool isError, int? pid, String text})

A log record containing process output or internal messages.

  • pid: The process ID, or null for internal messages
  • isError: Whether this is an error message (stderr) or normal output
  • text: The actual log message text

Implementation

typedef LogRecord = ({int? pid, bool isError, String text});