Share this page

# TC.log

Logs a message as a line in the interactive/load log.

    TC.log(text, level);

## Arguments

Name | Description
--- | ---
text | (any) The log message.
level (Optional) | (string) Defines the log level. Possible values: Error Warning Standard (default) Extended Status. Sends a string to the Status area of the Controller. It also sends the string to the Vuser log. When run from VuGen, the message is sent to output.txt. Status_msg

## Return value

(void) undefined

## Example

Copy code

    TC.log("my warning", "Warning");

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: