我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

电子邮件的最佳错误日志? error_log()vs mail()

I was just wondering what is the best way to log my server errors through email ?

error_log() can indeed send log to an email address with limited possibilities, but was designed for error logs, when mail() is design for email with more customization possibilities, but wasn't designed for errors in particular.

Can I encounter performances problems with one of them, what would be the best way ?

近期文章

  • 无法使用php连接到访问数据库
  • 连接到数据库时Codeigniter嵌套循环错误
  • 将一行php数据传递给AngularJS模式
  • RewriteRule .htaccess正在转发PHP变量
  • Iron.io似乎没有检测到我的数据库
  • laravel 5 GuzzleHttp客户端https cURL错误35
  • 无法从chrome扩展程序发送ajax请求
  • AWS SDK PHP aws_autoloader.php没有使用ZIP方法正确加载路径
  • 清理用户数据以在页面标题中使用而无需编码到实体?
  • MySQL / PHP编码程序
  • 如何学习Sphinx以各种日期时间格式进行搜索?
  • 从另一个目录重写文件
  • 从时间戳php mysql中选择日期
  • 带OR条件的WP_Query
  • 从SOAP客户端响应访问值
  • 表单提交在第二次提交时失败
  • 如何使用Google Content API for Shopping更新所有产品详细信息?
  • POST到PHP Session无法在iPhone上运行?
  • Jquery tokeninput prePopulate在页面加载时不在表单中的值 - 仅在添加用户之后
  • 在PHP中为Rail PNR API生成HMAC SHA1

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华