Skip to content

miva_writelog()#

Syntax
miva_writelog( priority, message )

Returns#

Returns 1 on success, 0 on error

Parameters#

Parameter Description
priority a string containing a list of words. These words may be either a facility code (see miva_openlog) or a priority code (see miva_setlogmask). Commas and/or spaces separate the words. The facility may be omitted in which case the default will be assumed (see miva_openlog). If the priority is omitted or has been disabled via a call to miva_setlogmask, then the miva_writelog call will be ignored.
message a string that will be written to the log.