11/*
2- * Copyright (c) 2020 Devtron Labs
2+ * Copyright (c) 2020-2024. Devtron Inc.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
66 * You may obtain a copy of the License at
77 *
8- * http://www.apache.org/licenses/LICENSE-2.0
8+ * http://www.apache.org/licenses/LICENSE-2.0
99 *
10- * Unless required by applicable law or agreed to in writing, software
11- * distributed under the License is distributed on an "AS IS" BASIS,
12- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13- * See the License for the specific language governing permissions and
14- * limitations under the License.
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
1515 */
1616
1717package logger
@@ -23,10 +23,9 @@ import (
2323)
2424
2525type LogConfig struct {
26- Level int `env:"LOG_LEVEL" envDefault:"0"` // default info
26+ Level int `env:"LOG_LEVEL" envDefault:"0"` // default info
2727}
2828
29-
3029func NewSugaredLogger () * zap.SugaredLogger {
3130 logConfig := & LogConfig {}
3231 err := env .Parse (logConfig )
0 commit comments