Viewing Logs

LogMachine logs can be viewed in three ways depending on your workflow. Use the CLI for quick inspection, the web UI for collaboration, or an ANSI-aware file viewer if you prefer reading from files.

1. CLI output

Use standard terminal commands to inspect your log file directly.

tail -f logs.log
cat logs.log
less -R logs.log

`less -R` is useful when you want to preserve ANSI colors in the terminal.

2. Web UI

Open the central app, join a room, and watch logs stream in live.

Best for team debugging, filtering, and collaborative triage.

3. In file

If you prefer viewing logs in files, install an ANSI viewer extension or plugin for your IDE.

This keeps colors readable while avoiding raw escape codes.

Recommended ANSI Viewers

VS Code

ANSI Automatic Clean Viewer

Automatically hides ANSI escape codes, preserves colors, and handles large files smoothly.

Vim / Neovim

AnsiEsc.vim for ANSI-aware viewing inside Vim, or nvimpager for quick terminal-based viewing.

Good choice if you already work inside terminal editors and want logs to render with color.

Emacs

Use the built-in ansi-color package.

It applies ANSI colors directly in buffers and is a reliable built-in option.

JetBrains IDEs

Use the built-in ANSI support in the Run/Debug console or terminal output.

Built-in support is usually enough for viewing colored log output without extra plugins.

Tip

If you are working from the terminal, tail -f is the fastest way to watch live logs, while less -R is better when you need to scroll through colored history.

Loading... Loading, please wait...