From 7945c3ca06123950e58efbfb31f34e5b4e69018e Mon Sep 17 00:00:00 2001 From: Jesper Hustad Date: Tue, 21 May 2024 14:05:42 +0200 Subject: [PATCH] Add PowerShell command to log.md docs --- docs/en/log.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/en/log.md b/docs/en/log.md index 4ae9181..3a4cd6a 100644 --- a/docs/en/log.md +++ b/docs/en/log.md @@ -14,4 +14,10 @@ tail -f cleo_redux.log `tail` is a unix command so a compatible environment is needed (for example [Git Bash](https://git-scm.com/downloads)). -The log file also lists all executed opcodes with [`LogOpcodes=1`](./config.md#general) and JavaScript commands with [`CLEO.debug.trace(true)`](./api.md#cleo). \ No newline at end of file +For windows users using powershell, run: + +``` +Get-Content cleo_redux.log -Wait -Tail 0 +``` + +The log file also lists all executed opcodes with [`LogOpcodes=1`](./config.md#general) and JavaScript commands with [`CLEO.debug.trace(true)`](./api.md#cleo).