Adding Categories to Specific Loggin Levels
The methods shown below are used to add categories to specific severity levels only. Each method can receive 1 to * category arguments.
    public void debug()
    public void info()
    public void warn()
    public void error()
    public void fatal()
    public void off()
1
config.debug( "com.model.myclass", "coldbox.system.controller" );
2
config.info( "com.model.otherclass", "coldbox.system.whatever" );
3
config.fatal( "com.model.otherclass", "coldbox.system.whatever" );
4
config.error( "com.model.otherclass", "coldbox.system.whatever" );
5
config.off( "com.model.otherclass", "coldbox.system.whatever" );
Copied!
Copy link