[Lldb-commits] [lldb] Logging setup for lldb-dap extension (PR #146884)

2025-07-03 Thread Bassam Khouri via lldb-commits
@@ -156,16 +157,34 @@ async function getDAPArguments( .get("arguments", []); } +/** + * Formats the given date as a string in the form "MMdd". + * + * @param date The date to format as a string. + * @returns The formatted date. + */ +function formatDate(date: Date): st

[Lldb-commits] [lldb] Logging setup for lldb-dap extension (PR #146884)

2025-07-03 Thread Bassam Khouri via lldb-commits
@@ -0,0 +1,88 @@ +import * as vscode from "vscode"; +import * as winston from "winston"; +import * as Transport from "winston-transport"; + +class OutputChannelTransport extends Transport { +constructor(private readonly ouptutChannel: vscode.OutputChannel) { +super();