From 27f1ae488ab77b5d930d723717521dff0a985e7e Mon Sep 17 00:00:00 2001
From: Gabriel Logan <gabrielcoutolima@protonmail.ch>
Date: Wed, 6 Nov 2024 18:53:39 -0300
Subject: [PATCH] fix: update logger message in DoublyLinkedList constructor to
 include head initialization

---
 src/dataStructures/DoublyLinkedList.ts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/dataStructures/DoublyLinkedList.ts b/src/dataStructures/DoublyLinkedList.ts
index 3b9ab64..b8e8d57 100644
--- a/src/dataStructures/DoublyLinkedList.ts
+++ b/src/dataStructures/DoublyLinkedList.ts
@@ -13,7 +13,9 @@ class ListNode<T = any> {
 export default class DoublyLinkedList<T = any> {
   private readonly logger = new Logger();
 
+  private readonly head: ListNode<T> | null = null;
+
   constructor() {
-    this.logger.log("DoublyLinkedList created");
+    this.logger.log("DoublyLinkedList created" + this.head);
   }
 }