diff --git a/chapters/ch04.2-writing-logs.md b/chapters/ch04.2-writing-logs.md index 256498d..9c0d6c2 100644 --- a/chapters/ch04.2-writing-logs.md +++ b/chapters/ch04.2-writing-logs.md @@ -754,7 +754,7 @@ class Logger { } // write logs to the opened file - await this.#log_file_handle.write(log_message); + await this.#log_file_handle.write(message); } ... }