Hitachi HF-W7500 40 Manual page 120

Industrial computer, ras features
Table of Contents

Advertisement

<Sample program>
We provide a sample program that uses this function in C. For information about the name of
the sample program and where you can find it, see "6.2 Sample Programs".
Log function exits (asynchronously) without waiting for the data to be actually
written to a log file. That means this function does not return an error even when
writing to a log file fails for some reason. We recommend important information
be recorded in the OS event log.
NOTE
・This function has the same name as the message console function provided
by W2K-PLUS, software from Hitachi, but this function does not output to the
message console.
・In order to reduce the amount of resources used, this function, for example,
opens and closes a pipe every time the function is called. That means this
function has relatively large overhead. Even when you record multiple lines
of message, use one function call to output the message.
・This function does not support a Unicode string. Always use an ANSI string.
The log entry for the message is stored in a text file. In a text file, the
combination of two characters "\r\n" is recognized as a newline.
If you want to include a newline in a string specified by lpbuffer, insert "\r\n"
in the string.
NOTICE
6-15
6. LIBRARY FUNCTIONS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents