Skip to content
Development
Command

/logs

View stdout/stderr logs from a running Tauri application

From plugin
claude-command-suite
1.4k199 skills89 agents199 commands
$ npx -y skills add qdhenry/Claude-Command-Suite --agent claude-code

Command definition

logs.md
name: rust:tauri:logs
description: View stdout/stderr logs from a running Tauri application
allowed-tools: mcp__tauri-mcp__get_app_logs
author: Quintin Henry (https://github.com/qdhenry/)

<objective> Retrieve and display logs from a running Tauri application's stdout and stderr streams. </objective>

<instructions> Get logs from the Tauri application: **$ARGUMENTS**

Arguments format: `[process_id] [--lines N]`

  • `process_id`: Required - the process ID from `/tauri:launch`
  • `--lines N`: Optional - number of recent lines (default: 100)

Process

1. **Parse Arguments** Extract process_id and optional line count from $ARGUMENTS.

2. **Retrieve Logs** Use `mcp__tauri-mcp__get_app_logs` with:

  • `process_id`: The target process
  • `lines`: Number of lines to retrieve

3. **Format Output**

  • Separate stdout and stderr if distinguishable
  • Highlight errors and warnings
  • Show timestamps if available

Usage Examples

# Get last 100 lines (default)
/tauri:logs 12345

# Get last 50 lines
/tauri:logs 12345 --lines 50

# Get all available logs
/tauri:logs 12345 --lines 1000

</instructions>

<output_format>

=== Logs for Process [PID] ===
[timestamp] [level] message
[timestamp] [level] message
...

=== Summary ===
- Total lines: N
- Errors: N
- Warnings: N

</output_format>

@qdhenry
Ships withclaude-command-suite

A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.

1.4k12 skills89 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.4k
Star history of qdhenry/Claude-Command-Suite on GitHub, a chart by star-history.com

Other commands on claude-command-suite.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command