Log [LJM User's Guide]
Saves a message of the specified severity level to the LJM debug log file.
Syntax
LJM_ERROR_RETURN LJM_Log( int Level, const char * String)
Parameters
Level [in]
The error severity level of this new log entry. See constants file LJM_DEBUG_LOG_LEVEL.
LJM_STREAM_PACKET = 1LJM_TRACE = 2LJM_DEBUG = 4LJM_INFO = 6LJM_PACKET = 7LJM_WARNING = 8LJM_USER = 9LJM_ERROR = 10LJM_FATAL = 12
String [in]
The debug message to write to the log file.
Returns
LJM errorcodes or 0 for no error.
Example
Write "Beginning stream..." to the log file with severity level: Debug.
int LJMError;
LJMError = LJM_Log(4, "Beginning stream...");