code: function trace(message) {
      var logger = State.logger || console;
      if (!this.root().trace || !logger) { return; }
      logger.info(message);
    }
docs: Internal: Logs the given message. How the message gets logged is determined by the `State.logger` property. By default this is `console`, but can be setto use another logger object. It assumes that there is an `info` method on the logger object.