ntentan/logger 问题修复 & 功能扩展

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

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

ntentan/logger

最新稳定版本:v0.1.1

Composer 安装命令:

composer require ntentan/logger

包简介

A static PSR-3 logger wrapped around the super cool monolog.

README 文档

README

A static logger wrapped around the super awesome monolog logging framework. The whole idea behind the wrapper is to minimize the setup code and expose logging settings. By that approach applications can use external configuration files to configure the logging backend (this is however yet to be implemented). The ntentan logger class tries to be compatible with the interfaces defined in the PSR-3 specification.

Installation

You can install Logger through composer since its available on packagist (ntentan/logger).

Example

To use the ntentan logger.

<?php

use ntentan\logger\Logger;

// Initialize the logger
Logger::init("/path/to/log/file.log");

// Write some logs
Logger::log(Logger::DEBUG, "Hello!");
Logger::warning("World!");

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固