+ console: function(record) {
+ /* global console */
+ var level = record.level,
+ method;
+ if(console) {
+ if(level === 'warning') {
+ level = 'warn';
+ }
+ method = (typeof console[level] === 'function') ? level : 'log';
+ console[method](record.message);
+ }
+ },