Products Downloads


French version


 


This function adds a trace message to the console. The message will be sent to the log4j log system if it is configured (by default in Adelia Cloud) or displayed in the standard output in Windows/Java without log4j.


Context

  • Windows server (if the daemon is started in a window)

  • Java client

  • Adelia Web client

  • Java server

  • Adelia Cloud client

  • Event Adelia client


Parameters

NUM_BIN_4

Level

Trace level considered. If log4j is enabled, the possible values are:

0    Fatal error.

1    Error. 

2    Warning.

3    Information message.

4    Debug message.

ALPHA(n)

Message

Message.


Note: in non-Windows cases, if you do not have a log4j2.xml file (log4j.lcf in the Cloud) configured, only level 0 or 1 messages will be displayed.



Example

Message = 'Successful user connection' // *USER

CALL_DLL 'VATOOLBX.DLL' ' VaToolBxLogMessage ' 0 Message


List of the VaToolBx functions by topic


↑ Top of page

  • Aucune étiquette