Overview
Features
Settings
Custom Suffix
Want your logs to have a distinct ending note? The logMessageSuffix setting is your solution. This attribute lets you add a bespoke touch to your log messages. It appends a custom suffix to each message generated by the Turbo Console Log extension, offering an extra layer of customization.
Usage
Changing the Suffix:
Personalizing the suffix is a breeze. Head to your VS Code settings via File → Preferences → Settings (or Code → Preferences → Settings on macOS). Then, in the search bar, key in "Turbo Console Log". Find the logMessageSuffix setting and type in your preferred suffix. Navigate to the settings in VS Code: File → Preferences → Settings (or Code → Preferences → Settings on Mac). Search for "Turbo Console Log" and find the logMessageSuffix setting. Enter your desired prefix string into the input field.
Experience in Code:
After you've tailored your suffix, it comes into play each time you generate a log message with Turbo Console Log. For instance, if "EndLog" is your chosen suffix, your log statement will appear as follows:
console.log('🚀 ~ SelectedVariable EndLog', SelectedVariable);
Using logMessageSuffix breathes personality into your logs. It's especially beneficial when you're navigating through large-scale projects or collaborating on a shared codebase. With a unique suffix, your debug messages stand out from the crowd. Should you leave this setting untouched, the suffix defaults to a colon (:).