Previous Up Next

_logsentence
Test the _type_ with the mask of the logfile to determine wether the message should be written in the logfile. If the test is positive, the message is immediatly written.

I _logsentence (
Logfile _logfile_
S _message_
I _type_
)
Parameters

_logfile_
any logfile
_message_
message to write in the logfile
_type_
type which will be tested with the mask of the logfile (logical AND)
Return value

1 if success

Error :