venkatesanchinna/log-monitor 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

venkatesanchinna/log-monitor

最新稳定版本:v1.0.0

Composer 安装命令:

composer require venkatesanchinna/log-monitor

包简介

Provides Laravel error log monitor

README 文档

README

Latest Stable Version License Total Downloads Monthly Downloads Daily Downloads

Log Monitor is a Laravel package that provides an intuitive UI for viewing and managing application logs. It supports all Laravel versions and works seamlessly with Bootstrap 3 and 4.

Features

  • Supports all Laravel versions
  • UI built with Bootstrap 3 & 4
  • Real-time log monitoring
  • Easy installation and configuration
  • Lightweight and fast
  • Can preview cusom logs
  • Folder based logs

Installation

You can install the package via Composer:

composer require venkatesanchinna/log-monitor

If you encounter stability issues, you may need to specify the development branch:

composer require venkatesanchinna/log-monitor:dev-master

Publish Assets and Configurations

After installing, publish the package assets and config files:

php artisan vendor:publish --tag=log-monitor-assets
php artisan vendor:publish --tag=log-monitor-config

Configuration

The configuration file can be found at:

config/log-monitor.php

You can update settings such as log file location, UI preferences, and log levels.

Usage

Accessing the Log Monitor

After installation, you can access the log monitor UI by visiting:

http://your-app-domain/log-monitor

Blade Integration

You can include the log monitor in your Blade templates:

@include('log-monitor::dashboard')

Publishing Views

To customize the UI, you can publish the views:

php artisan vendor:publish --tag=log-monitor-views

The views will be available in:

resources/views/vendor/log-monitor/

Translations

To use translations, publish the language files:

php artisan vendor:publish --tag=log-monitor-lang

Translations will be stored in:

resources/lang/vendor/log-monitor/

Artisan Commands

Log Monitor provides the following artisan commands:

log-monitor:check         # Check all LogMonitor requirements.
log-monitor:clear         # Clear all generated log files.
log-monitor:publish       # Publish all LogMonitor resources and config files.
log-monitor:stats         # Display stats of all logs.

Credits

This package was inspired from ARCANEDEV/LogViewer.

Author

Venkatesan C
Email: venkatesangee@gmail.com

License

This package is open-sourced software licensed under the MIT license.

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-04