inspectornetwork/logwatch-laravel
最新稳定版本:v1.0.1
Composer 安装命令:
composer require inspectornetwork/logwatch-laravel
包简介
Official Laravel logger for the Logwatch platform.
README 文档
README
Logwatch is a logging driver for Laravel that streams your application logs and exceptions to the Logwatch dashboard in real-time.
Installation
You can install the package via composer:
The service provider will automatically register the logwatch driver with Laravel's LogManager.
Configuration
- Environment Setup
Add your project credentials to your .env file.
- Configure Logging Channel
Add the logwatch channel to the channels array in config/logging.php. To stream logs in parallel with your local files, add it to your stack.
Features
Smart Dispatching: Logwatch intelligently detects your execution environment. It uses non-blocking asynchronous requests for Web contexts and synchronous requests for CLI/Artisan contexts.
- Auto-Discovery: No manual server registration required. Logwatch identifies originating nodes by their hostname.
- Rich Context and Stack Traces: Pass exceptions or arrays directly to the logger. Logwatch captures the full stack trace and environment state.
License
The MIT License (MIT). Please see LICENSE.md for more information.
统计信息
- 总下载量: 304
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-16