定制 molajo/log 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

molajo/log

Composer 安装命令:

composer require molajo/log

包简介

Molajo Logs: Basic PSR-3 compliant Log Package for PHP applications

README 文档

README

======= Molajo Log API

Build Status

Simple, clean API for PHP applications to use with logging.

At a glance ...

First, the application connects to a Log Handler. Then, the application can use that connection to perform log operations.

Example

    // Connect to Log Handler
    use Molajo\Log\Connection;
    $adapter = new Connection('Memory');

    // Use connection for log operations
    $adapter->log($level, $message, $context = array());

    // Use connection to retrieve the entire log
    $log = $adapter->get();

Requirements and Compliance

Install using Composer from Packagist

Step 1: Install composer in your project

    curl -s https://getcomposer.org/installer | php

Step 2: Create a composer.json file in your project root

{
    "require": {
        "Molajo/Log": "1.*"
    }
}

Step 3: Install via composer

    php composer.phar install

Author

Amy Stephen - AmyStephen@Molajo.org - http://twitter.com/AmyStephen
See also the list of contributors participating in this project.

License

Molajo Log is licensed under the MIT License - see the LICENSE file for details

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-11-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固