-prefs = require 'util/prefs'
+#prefs = require 'util/prefs'
 #
 # NOTE: instead of using `require' for all these we lazy-load them,
 # otherwise `logger' will not be available for them since, duh, we're

untaint = (args...) ->
  {untaint} = require 'util/privacy'
  untaint args...

loggersByName = {}


  # The higher the level, the more attention you should pay.
  #
  @::__defineGetter__ 'level', ->
    @_level ? @_parent?._level ? levelCodeForName getPref('wesabe.logger.level')

  @::__defineSetter__ 'level', (level) ->
    @_level = (levelCodeForName level) ? level
