Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the betterdocs domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/contentbot/public_html/documentation/wp-includes/functions.php on line 6121

Warning: Cannot modify header information - headers already sent by (output started at /home/contentbot/public_html/documentation/wp-includes/functions.php:6121) in /home/contentbot/public_html/documentation/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/contentbot/public_html/documentation/wp-includes/functions.php:6121) in /home/contentbot/public_html/documentation/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/contentbot/public_html/documentation/wp-includes/functions.php:6121) in /home/contentbot/public_html/documentation/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/contentbot/public_html/documentation/wp-includes/functions.php:6121) in /home/contentbot/public_html/documentation/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/contentbot/public_html/documentation/wp-includes/functions.php:6121) in /home/contentbot/public_html/documentation/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/contentbot/public_html/documentation/wp-includes/functions.php:6121) in /home/contentbot/public_html/documentation/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/contentbot/public_html/documentation/wp-includes/functions.php:6121) in /home/contentbot/public_html/documentation/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/contentbot/public_html/documentation/wp-includes/functions.php:6121) in /home/contentbot/public_html/documentation/wp-includes/rest-api/class-wp-rest-server.php on line 1896
{"id":191,"date":"2024-11-06T13:34:20","date_gmt":"2024-11-06T13:34:20","guid":{"rendered":"https:\/\/contentbot.ai\/documentation\/?post_type=docs&p=191"},"modified":"2024-11-06T13:34:20","modified_gmt":"2024-11-06T13:34:20","password":"","slug":"commands-log","status":"publish","type":"docs","link":"https:\/\/contentbot.ai\/documentation\/docs\/commands-log\/","title":{"rendered":"Commands: \/log"},"content":{"rendered":"\n

Overview<\/h2>\n\n\n\n

The \/log command can be used to write a variable name and it’s value to the document, this can be helpful in testing<\/p>\n\n\n\n

The Input is a variable and the output will include the variable name and the variable content and will replace the command in the content window<\/p>\n\n\n\n

<\/div>\n\n\n\n

Examples<\/h2>\n\n\n\n

Example1: Logs the name and value of the #topic variable<\/em><\/p>\n\n\n\n

\/log [#topic]<\/pre>\n\n\n\n
\n