var colors = [
    '#B28272', '#CC76A1', '#DD9296', '#87B38D', '#828AB0', '#5B6195',
    '#9BB291', '#5D8A79', '#3D4656', '#D7A954', '#8D714C'
  ],
  colorMaps = {},
  colorIndex = 0,
  enabled = true;

function Logger(context) {
  colorMaps[context] = colorMaps[context] || colors[colorIndex++ % colors.length];
  this.log = function () {
    var colored = ['%c ' + context + ' ', 'color: white; background: ' + colorMaps[context] + ';'],
      args = [].slice.call(arguments);
    if (enabled) console.log.apply(console, colored.concat(args));
  };
}

module.exports = Logger;

Logger.disable = function () {
  enabled = false;
};

Logger.enable = function () {
  enabled = true;
};


@@ -8,16 +8,163 @@
 ors = %5B%0A
+    'lightseagreen', 'forestgreen', 'goldenrod', 'dodgerblue', 'darkorchid', 'crimson',%0A    '#9BB291', '#5D8A79', '#3D4656', '#D7A954', '#8D714C',%0A
     '#B2
@@ -227,67 +227,8 @@
 195'
-,%0A    '#9BB291', '#5D8A79', '#3D4656', '#D7A954', '#8D714C'
 %0A  %5D

update colors