mvm_log_lineT_mvm_log_lineMvmLogLineMvmLogLine (Operator)

Name

mvm_log_lineT_mvm_log_lineMvmLogLineMvmLogLine — Send a log message to a client.

Signature

mvm_log_line( : : LoggerHandle, Level, Format, Args : )

Herror T_mvm_log_line(const Htuple LoggerHandle, const Htuple Level, const Htuple Format, const Htuple Args)

void MvmLogLine(const HTuple& LoggerHandle, const HTuple& Level, const HTuple& Format, const HTuple& Args)

static void HHdevguiServerExtpack.MvmLogLine(HTuple loggerHandle, HTuple level, HTuple format, HTuple args)

Description

Formats and sends a log message in FormatFormatFormatFormatformat. If required, the message will be HTML-escaped: For example, the character '<' will appear as '<' in the web page. Use mvm_log_rawmvm_log_rawMvmLogRawMvmLogRawMvmLogRaw to avoid escaping.

LevelLevelLevelLevellevel is the severity level of the log message. It should be one of the following:

Only log messages where this level is higher than the level specified during mvm_open_loggermvm_open_loggerMvmOpenLoggerMvmOpenLoggerMvmOpenLogger are handled.

The actual log message must be provided as string in FormatFormatFormatFormatformat.

Currently the parameter ArgsArgsArgsArgsargs is not supported and must be empty.

Execution Information

Parameters

LoggerHandleLoggerHandleLoggerHandleLoggerHandleloggerHandle (input_control)  lexicon(-array) HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Logger handle

LevelLevelLevelLevellevel (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

logging level

Default value: 'info' "info" "info" "info" "info"

List of values: 'debug'"debug""debug""debug""debug", 'error'"error""error""error""error", 'info'"info""info""info""info", 'warn'"warn""warn""warn""warn"

FormatFormatFormatFormatformat (input_control)  string(-array) HTupleHTupleHtuple (string) (string) (HString) (char*)

Composite format string

ArgsArgsArgsArgsargs (input_control)  string(-array) HTupleHTupleHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double)

Arguments to log using Format

See also

mvm_log_rawmvm_log_rawMvmLogRawMvmLogRawMvmLogRaw, mvm_gui_send_tuplemvm_gui_send_tupleMvmGuiSendTupleMvmGuiSendTupleMvmGuiSendTuple

Module

Foundation