Contents

IOLog

Log a message to console in text mode, and /var/log/system.log.

Declaration

int IOLog(const char *format, ...);
void IOLog(const char *format, ...);

Parameters

  • format:

    A printf() style format string (see printf(3) documentation).

  • other:

    arguments described by the format string.

Discussion

This function allows a driver to log diagnostic information to the screen during verbose boots, and to a log file found at /var/log/system.log. IOLog should not be called from interrupt context.

See Also

Logging