How do I write my own log messages to log files? I’m a bit lost between what is the EE way of doing things vs the CodeIgniter way of doing things. I can’t actually find any mention anywhere of how to do this with EE, and a cursory grep reveals nothing on the filesystem that looks like a directory for logfiles. system/logs is mentioned in config.php as a default but there’s no such directory.
I know that I can log to control panel logs, and I know that I can get debugging info on my pages if I set the right preferences. Neither is adequate, how do I get this stuff into files?