LOG_message
2-190
C Interface
Syntax
LOG_message(format, arg0);
Parameters
String
format;
/* printf-style format string */
Arg
arg0;
/* copied to second word of log record */
Return Value
Void
Reentrant
yes
Description
LOG_message writes a program-supplied message to the system log,
provided that both the host and target trace bits are enabled.
The format argument passed to LOG_message can contain any of the
conversion characters supported for LOG_printf. See LOG_printf, page
2–191, for details.
Example
Void UTL_doMessage(String s, Int errno)
{
LOG_message("SYS_error called: error id = 0x%x", errno);
LOG_message("SYS_error called: string = '%s'", s);
}
See Also
LOG_error
LOG_event
LOG_printf
TRC_disable
TRC_enable
LOG_message
Write a program-supplied message to the system log