installation
install with a single command:
curl -fsSL https://raw.githubusercontent.com/AyomiCoder/loggar/main/scripts/install.sh | sh
authentication
authenticate with your preferred provider.
loggar auth
$ loggar auth
__ ____ ___________ ___ ____
/ / / __ \/ ____/ ____|/ |/ __ \
/ / / / / / / __/ / __ / /| / /_/ /
/ /___/ /_/ / /_/ / /_/ // ___ / _, _/
/_____/\____/\____/\____//_/ |/_/ |_|
AI-POWERED LOG TRIAGE
? Select Identity Provider: GitHub
Opening browser to authenticate...
✓ Successfully authenticated as dev@logger.dev
reset token:
loggar auth --reset
$ loggar auth --reset
✓ Token cleared successfully
analyze logs
analyze log files or stdin to identify issues.
text output (cpu spike scenario):
loggar analyze server.log
$ loggar analyze server.log
PRIMARY ISSUE
→ request timeout due to cpu saturation (98% usage)
SECONDARY EFFECTS
• context deadline exceeded on /api/v1/process
• high-latency in upstream "payment-gateway"
LIKELY CAUSES
1. resource contention or heavy background process (95%)
2. inefficient request processing loop (80%)
RECOMMENDED ACTIONS
• check system load and running processes
• profile the /api/v1/process endpoint
help
show help and usage information.
loggar --help
$ loggar --help
Loggar.dev - Analyze server logs and identify root causes with AI
Usage:
loggar [command]
Available Commands:
analyze Analyze log files with AI
auth Authenticate with Loggar.dev
help Help about any command
version Print the version number
version
display the CLI version.
loggar version
$ loggar version
Loggar CLI v0.1.0