Method

HsCorelog_valist

Declaration [src]

void
hs_core_log_valist (
  HsCore* self,
  HsLogLevel level,
  const char* format,
  va_list args
)

Description [src]

Logs a message formatted with format with the log level level.

Cores should not output anything directly to stdout.

This method is not directly available to language bindings.

Parameters

level

Type: HsLogLevel

The log level.

format

Type: const char*

printf()-style format for the message.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
args

Type: va_list

List of parameters for the message format.