LOG4PHP-174: * Using integer level constants for switching instead of strings. * Removed call to console->debug() because the method does not exist. * Removed call to console->trace() because it is not used for trace-level logging, but for outputting the call trace.