Hello Guys,
I'm a keen user of LogBox - I have it running several ColdBox/WireBox applications, however I'm now looking to implement it with a ColdSpring based project.
The logbox library implements a kind of factory method (at least that's what I gather) in which you access the given loggers like logbox.getLogger('name.of.logger');
When used in conjunction with Wirebox, you can use a specific DSL to have given loggers injected into service, rather than the actual logbox instance.
For instance in one of my services I can put something like this:
property name="logger" inject="Logbox:Logger:name.of.logger";
This then injects the specific logger from the logger factory method. This saves me having to define each logger separately in the framework config, I need only define the factory and the auto-wire is smart enough to know how to use it.
Can I do something similar to this with ColdSpring? I've not seen it mentioned anywhere before.
Thanks.
Robert