Overview

Motivation

Statistics

JS/TS

Insert a log message

Comment inserted log messages

Uncomment log messages

Delete log messages

Correct log messages

PHP (Pro)

Insert a log message

Comment inserted log messages

Uncomment log messages

Delete log messages

Correct log messages

Settings

Custom Prefix

Custom Suffix

Log Function Type

Log Function Name

Custom delimiter

Custom quote

Use semicolon

Enclosing class

Enclosing function

Include file name and line number

Include file name

Include line num

Wrap log message

Line before log message

Line after log message

Line before log message

Presentation

The insertLineBeforeLog setting allows you to control the space around your log messages. When enabled, it inserts a new line before each log message, providing extra clarity and separation in your console output.

Usage

  1. To modify the Insert Line Before Log 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 insertLineBeforeLog setting. Switch the toggle to your preferred state.

  2. In your code: When enabled, Turbo Console Log will insert a blank line before each log statement. This option helps to visually distinguish each Turbo Console Log message in your console output.

console.log('πŸš€ ~ variableName:', variableName);

This setting can help in managing console clutter, especially in cases where you are debugging multiple variables or tracking the flow of data through various parts of your application. The Insert Line Before Log setting is disabled by default.