Project

General

Profile

SO3Engine
Logs

Functions

int SO3CbLogs (mmachine m)
 SO3CbLogs : Define the callback scol had to be called when there is a log event.
 

Detailed Description

Scol functions definition

Function Documentation

◆ SO3CbLogs()

int SO3CbLogs ( mmachine  m)

SO3CbLogs : Define the callback scol had to be called when there is a log event.

Prototype: fun [Chn fun [S u0] u1 u0 I] I

Parameters
Chn: channel
fun[S u0] u1 : function scol to call
  • S : Ogre exception message
  • u0 : user param
I: flag for the log level (SO3_LL_LOW, SO3_LL_NORMAL, SO3_LL_BOREME)
Returns
I : 1 if success, NIL otherwise

Definition at line 162 of file SCOLLog.cpp.