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?
Support
Option 2 looks primising, I’ll check that out. Thanks!
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 1 | 46 | 7 hours ago | ||
| 4 | 227 | 1 day ago | ||
| 13 | 275 | 5 days ago | ||
| 9 | 334 | 1 week ago | ||
| 4 | 187 | 1 week ago |