<< Previous | Next >>

log_condition

int log_condition( LogDest ldst );

Description

Return the state of the specified log destination. Destination classes or streams that are not configured cause a -2 return code.

NOTE Please see the comments at the top of log.lib for a description of the message logging subsystem.

Parameter

ldst
Destination class and stream. Use one of the constants LOG_DEST_FS2 or LOG_DEST_XMEM, then OR in the stream number (0-63).

Return Value

 0: Destination not open
 1: destination OK
 2: destination reached limit of its space quota
-1: error in destination.
-2: destination not configured

Library

log.lib


Dynamic C Functions << Previous | Next >> rabbit.com