承接 ntentan/logger 相关项目开发

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

邮箱: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
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

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

其他信息

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