我们可以通过其自己的方法在 Sugar CRM 中创建自定义日志文件吗? [英] Can we create custom logs files in Sugar CRM through its own methods?

查看:62
本文介绍了我们可以通过其自己的方法在 Sugar CRM 中创建自定义日志文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上,我正在开发一个用于 Sugar On Demand 的 Sugar CRM 包.在这个包中,Sugar CRM On Demand 不允许文件处理 PHP 函数,但我想为我的包创建单独的日志文件.

Actually I work on a Sugar CRM package which is for Sugar On Demand. In this package Sugar CRM On Demand does not allow file handling PHP functions But I want to create separate log files for my package.

Sugar CRM 有没有办法通过 Sugar CRM 内部库创建我们单独的自定义日志文件,而不会干扰 Sugar CRM 的默认日志.

Is there a way in Sugar CRM to create our separate Custom log files through Sugar CRM internal libraries without disturbing Sugar CRM default logs.

推荐答案

您可以使用 Jason 的伟大提议,但是如果您想坚持拥有自己的记录器的想法,您可以尝试:https://gist.github.com/cmourizard/3e3762bbf709ef4b05e0

You can use the great proposition from Jason, however if you want to stay on your idea to have your own logger you can try that : https://gist.github.com/cmourizard/3e3762bbf709ef4b05e0

这篇关于我们可以通过其自己的方法在 Sugar CRM 中创建自定义日志文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆