Skip to content

Commit

Permalink
Add PowerShell command to log.md docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesper-Hustad authored and x87 committed Jun 13, 2024
1 parent 3ed7973 commit 7945c3c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/en/log.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
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).

0 comments on commit 7945c3c

Please sign in to comment.