承接 lyzy/slog 相关项目开发

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

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

lyzy/slog

Composer 安装命令:

composer require lyzy/slog

包简介

php log helper for seaslog

关键字:

README 文档

README

php_log_helper for SeasLog

首先需要 安装 和 配置 SeasLog扩展

详细参考 官方文档

编译安装 SeasLog

$ /path/to/phpize
$ ./configure --with-php-config=/path/to/php-config
$ make && make install

PECL安装SeasLog

$ pecl install seaslog

Windows环境中使用SeasLog

到PECL/SeasLog主页找到对应的dll进行安装 PECL/SeasLog Windows Dll

安装php log helper for SeasLog

composer require lyzy/slog

使用

tips:本扩展包也可以当成SeasLog扩展编辑器语法提示使用

<?php

use lyzy\SLog;

require_once "vendor/autoload.php";

SLog::log(SEASLOG_ERROR,'this is a error test by ::log');

SLog::debug('this is a {userName} debug',array('{userName}' => 'neeke'));

SLog::info('this is a info log');

SLog::notice('this is a notice log');

SLog::warning('your {website} was down,please {action} it ASAP!',array('{website}' => 'github.com','{action}' => 'rboot'));

SLog::error('a error log');

SLog::critical('some thing was critical');

SLog::alert('yes this is a {messageName}',array('{messageName}' => 'alertMSG'));

SLog::emergency('Just now, the house next door was completely burnt out! {note}',array('{note}' => 'it`s a joke'));

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固