DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

eels_log(D3eels)


eels_log -- log a message

Synopsis

#include <sys/eels.h>

void eels_log(eels_handle_t handle, int level, char *fmt, ...);

Description

Submit the given buffer contents to the EELS logging subsystem. This routine requires that the buffer contents are specified in a printf like format. This is similar to the existing cmn_err mechanism that implements its own printf formatting. The level parameter provides an indicator of the event severity, similar to the current cmn_err level. The proposed values for level are:

EELS_INFO
Informational messages only. For example, initial driver configuration messages.

EELS_WARN
Recoverable error messages. For example, a recovered ECC error on a disk drive.

EELS_ERROR
Unrecoverable ``hard'' errors. Information may have been lost as a result.

EELS_PANIC
System is in an unmaintainable state. This message will be dispatched to the EELS logging database and the system will be stopped and a system image dumped to the configured dump device.

Arguments


handle
The session descriptor, returned by a call to eels_initialise(D3eels).

level
The severity of the event.

fmt
The message to be logged in a printf like format.

References

Intro(D3eels), eels_log, eels_initialise(D3eels), eels_terminate(D3eels)


© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - 19 June 2005