Пример #1
0
func (c Client) createLoggerSession(logger lager.Logger) lager.Logger {
	if strings.HasSuffix(logger.SessionName(), ".smtp") {
		return logger
	}

	return logger.Session("smtp")
}