code: function getFormatFunction (name) {
    // lookup format
    var fmt = morgan[name] || name || morgan.default
  
    // return compiled format
    return typeof fmt !== 'function'
      ? compile(fmt)
      : fmt
  }
docs: Lookup and compile a named format function.
  
  @param {string} name
  @return {function}
  @public