func NewConfig(config *Config) *Handler {
	return &Handler{
		colors:          defaultColors,
		writer:          config.Writer,
		timestampFormat: config.TimestampFormat,
		displayColor:    config.DisplayColor,
	}
}
// NewConfig creates a handler with a config
NewConfig creates a handler with a config
// NewConfig creates a handler with a config
func NewConfig(config *Config) *Handler {
	return &Handler{
		colors:          defaultColors,
		writer:          config.Writer,
		timestampFormat: config.TimestampFormat,
		displayColor:    config.DisplayColor,
	}
}
func NewConfig ( config * Config ) * Handler { return & Handler { colors : defaultColors , writer : config . Writer , timestampFormat : config . TimestampFormat , displayColor : config . DisplayColor , } }
NewConfig creates a handler with a config
NewConfig creates a handler with a config