Overview
JS/TS
PHP (Pro)
Settings
Custom Suffix
Presentation
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.
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 (:).