承接 alfiosalanitri/laravel-flask-logger 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

alfiosalanitri/laravel-flask-logger

最新稳定版本:v1.0.2

Composer 安装命令:

composer require alfiosalanitri/laravel-flask-logger

包简介

A log handler for Laravel that sends logs to a Flask server started with https://github.com/alfiosalanitri/flask-log-monitor

README 文档

README

A log handler for Laravel that sends logs to a Flask server running the Flask Log Monitor application.

⚠️ Dependency: This package requires a running instance of the Flask Log Monitor server. You can clone and start it from https://github.com/alfiosalanitri/flask-log-monitor.

Installation

composer require alfiosalanitri/laravel-flask-logger

Configuration

You can publish the configuration file:

php artisan vendor:publish --tag=config

Or use the environment variables directly:

LOG_CHANNEL=stack
LOG_STACK=flask,daily
LOG_FLASK_URL=http://localhost:5000
LOG_FLASK_TOKEN=secret

Make sure your Flask Log Monitor server is running and reachable at the URL defined in LOG_FLASK_URL.

Usage

Send logs to your Flask server using the flask channel:

Log::channel('flask')->info('Test log sent to Flask!', ['foo'=>'bar']);

If the Flask server is unavailable, logs will automatically fall back to the local daily channel.

License

MIT License © Alfio Salanitri

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固