- // Load up dependencies
- if (typeof require === 'function') {
- var Ne = require('neon');
- Module = Ne.Module;
- Class = Ne.Class;
- } else {
- Module = global.Module;
- Class = global.Class;
- }
-
- var Cobalt = {};
- Module(Cobalt, 'Logger')({});
-
- Cobalt.Logger.JsConsole = Class(Cobalt.Logger, 'JsConsole')({
- prototype : {
- console : console,
- formatterOpts : {},
-
- init : function (config) {
- var logger = this,
- property;