Overview
Features
Settings
Wrap log message
The wrapLogMessage setting is designed to control the formatting of your log messages. When this option is enabled, the Turbo Console Log extension wraps each log message with special separator lines, providing a more distinct visualization.
Usage
To modify the Wrap Log Message setting:
Navigate to the settings in VS Code: File → Preferences → Settings (or Code → Preferences → Settings on Mac). Search for "Turbo Console Log" and find the wrapLogMessage setting. Switch the toggle to your preferred state.
In your code:
When enabled, each Turbo Console Log output will be wrapped between separator lines for better distinction. For example, if you have a variable named docNavItem, the output log message would look something like this:
console.log('🚀 ~ ----------------------------🚀');
console.log('🚀 ~ docNavItem:', docNavItem);
console.log('🚀 ~ ----------------------------🚀');
This setting can make your logs more distinguishable, especially when you're examining numerous log messages. It is disabled by default, providing you with the flexibility to decide whether or not to use it.