博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
monolog使用
阅读量:7118 次
发布时间:2019-06-28

本文共 275 字,大约阅读时间需要 1 分钟。

安装composer

curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer

 composer require monolog/monolog

pushHandler(new StreamHandler('test.log', Logger::WARNING)); // add records to the log$log->addWarning('Foo');$log->addError('Bar');

  

 

 

转载地址:http://ebfel.baihongyu.com/

你可能感兴趣的文章
算法——分支限界法
查看>>
蓝桥杯 历届试题 九宫重排
查看>>
java 中的 instanceof
查看>>
泛函编程(22)-泛函数据类型-Monoid In Action
查看>>
iOS开发之网络编程--中文转码
查看>>
【原】设计稿中字体pt与px之间的转化
查看>>
How to make a not-so-boring speech?
查看>>
Pillow实现图片对比
查看>>
Centos上安装 OpenNebula Management Console
查看>>
【Oracle】 RAC 环境删除oracle 之一
查看>>
android 通过重写ScrollView和Listview完成上下滑动选中不同位置标题的效果
查看>>
[华为机试练习题]34.识别有效的IP地址和掩码并进行分类统计
查看>>
简单选择排序
查看>>
SQL应用与开发:(四)视图的应用
查看>>
dbcp重连失败问题排查记录(timeout设置)
查看>>
Pay attention: Oracle INTEGER is NUMBER(p) not INT4 in PostgreSQL
查看>>
虚拟机linux系统能够上网但是不能ping主机
查看>>
Http 400 --- The request sent by the client was syntactically incorrect
查看>>
关于char**与const char**
查看>>
Linux之同步机制(信号量,自旋锁)
查看>>