Contents

IOLogv

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

Declaration

int IOLogv(const char *format, va_list ap);
void IOLogv(const char *format, va_list ap);

Parameters

  • format:

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

  • ap:

    stdarg(3) style variable arguments.

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. IOLogv should not be called from interrupt context.

See Also

Logging