Documentation ¶
Overview ¶
Copyright (C) 2019-2020 Vdaas.org Vald team ( kpango, rinx, kmrmt )
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func Bold(str string) string
- func Debug(vals ...interface{})
- func Debugf(format string, vals ...interface{})
- func Error(vals ...interface{})
- func Errorf(format string, vals ...interface{})
- func Fatal(vals ...interface{})
- func Fatalf(format string, vals ...interface{})
- func Info(vals ...interface{})
- func Infof(format string, vals ...interface{})
- func Init(opts ...Option)
- func Warn(vals ...interface{})
- func Warnf(format string, vals ...interface{})
- type Logger
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { Debug(vals ...interface{}) Debugf(format string, vals ...interface{}) Info(vals ...interface{}) Infof(format string, vals ...interface{}) Warn(vals ...interface{}) Warnf(format string, vals ...interface{}) Error(vals ...interface{}) Errorf(format string, vals ...interface{}) Fatal(vals ...interface{}) Fatalf(format string, vals ...interface{}) }
type Option ¶ added in v0.0.2
type Option func(*option)
func WithFormat ¶ added in v0.0.2
func WithLogger ¶ added in v0.0.2
func WithLoggerType ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.