@@ -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();
@@ -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
award999 wrote:
This PR illustrates my proposal for issue #146880
https://github.com/llvm/llvm-project/pull/146884
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/award999 created
https://github.com/llvm/llvm-project/pull/146884
- Add `winston` dependency (MIT license) to handle logging setup
- Have an `OutputChannel` to log user facing information, errors, warnings
- Write a verose log under the provided `logUri` to capture further dia