I like to add logging to one of my twig files for error tracking. I found https://learn.getgrav.org/17/advanced/debugging#logging from the docs, which should do the job, but how do I call this from within a twig file?
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Support
Option 2 looks primising, I’ll check that out. Thanks!
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 50 | 6 hours ago | ||
| 2 | 58 | 9 hours ago | ||
| 1 | 28 | 10 hours ago | ||
| 2 | 63 | 5 days ago | ||
| 2 | 53 | 5 days ago |