Is there any particular reason for not allowing logger class having multiple instances? It's being initialized with 'fuelphp' instance by default.
I would like to log to a custom file under some circumstances (eg. log actions being made within admin panel to a separated file or directory), but this will require me having another logger instance.
Monolog looks to be very powerful, however without multiple instances it's one-dimensional tool.
The Log class is only intended for internal Fuel logging. It was never designed to serve other purposes, none of the other log functions support an instance either.
You can easily do:
$mylog = new \Monolog\Logger('mylog');
and do whatever you want with it if you have a special requirement.
Working with the \Monolog\Logger will require us to setup a handler each time and so on. Fuel logging class already do that. So it's possible to extend the logging class to easly do: