log_error¶
log_error writes a log message.
-
bool = log_trace(ssLogger, ssSource, ssMessage, ...)
-
bool = log_debug(ssLogger, ssSource, ssMessage, ...)
-
bool = log_info(ssLogger, ssSource, ssMessage, ...)
-
bool = log_warning(ssLogger, ssSource, ssMessage, ...)
-
bool = log_error(ssLogger, ssSource, ssMessage, ...)
-
bool = log_fatal(ssLogger, ssSource, ssMessage, ...)
Return Value
bool is TRUE (1) if the function was successful and otherwise FALSE (0).
Parameters
-
ssLogger
ssLogger is a logger name. If an empty string is specified (“”) the “uniscript” logger is used.
-
ssSource
ssSource is a string with the log source. An empty string (“”) is valid.
-
ssMessage
ssMessage is the logging message. The string can contain embedded format characters. The parameters following the ssMessage contain the optional arguments. See sprintf.
Example
n = 4;
log_trace("uniscript", "", "Number of Points: %d", n);
History
Version | Description |
---|---|
5.0.0 | New |
See also
id-1148088