code: function() {
    var app = this;
    if (typeof app.config.logger == 'function') {
      app.config.logger(app);
    } else {
      var defaults = {
        name: app.settings.shortname || app.settings.name || app.settings.title || 'base',
        level: 'info'
      };
      var opts = app.config.logger && app.config.logger.options
                  ? _.defaults({}, app.config.logger.options, defaults): defaults;
      if (app.config.logger && app.config.logger.type === 'bunyan') {
        var bunyan = require('bunyan');
        app.log.logger = bunyan.createLogger(opts);
      } else {
        app.log.logger = new log.SimpleLogger(opts);
      }
    }
  }
docs: /*
  logger: function or object
  {
  type: bunyan || simple (default: simple)
  options: string || bunyan options
  simple recognized name or level