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?
Option 2 looks primising, I’ll check that out. Thanks!
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 3 | 96 | 12 minutes ago | ||
| 2 | 72 | 10 hours ago | ||
| 6 | 140 | 3 days ago | ||
| 2 | 172 | 7 days ago | ||
| 1 | 340 | 4 weeks ago |