We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Products
Evo Development
Search
Saving custom logs into modx_event_log
54 Posts
dalekhin
Reply #1,
19 years, 3 months ago
Hi there!
Is there any API call to save my own events ( for example internal errors from snippet ) into MODx logs for example into modx_event_log.
May be some undocumented API call
Thanks, Dmitry
Russian FileShare Service MODx powered
MODX Staff
10,725 Posts
opengeek
Reply #2,
19 years, 3 months ago
You can use
$modx->logEvent()
to do this.
Jason Coward
Chief Architect @ MODX
http://www.jasoncoward.com
|
http://twitter.com/drumshaman
|
https://github.com/opengeek