microsoft / vscode-cosmosdb

Azure Databases extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-cosmosdb
MIT License
155 stars 68 forks source link

chore: Use LogOutputChannel #2248

Closed JasonYeMSFT closed 6 months ago

JasonYeMSFT commented 6 months ago

There is almost no reason to not include the timestamp since it provides important information for filtering the relevant messages. I removed the setting that governs whether the output will include timestamp. Using the LogOutputChannel will always include the timestamp in each message. It also allows the developer to add verbose logging output that can be checked into code to simplify testing and debugging without affecting user experience.