code: func (p *LogFormatterParams) IsOutputColor() bool {
  	return consoleColorMode == forceColor || (consoleColorMode == autoColor && p.isTerm)
  }
docs: // IsOutputColor indicates whether can colors be outputted to the log.