log

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright (C) 2019-2021 vdaas.org vald team <vald@vdaas.org>

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bold

func Bold(str string) string

func Close added in v1.0.0

func Close() error

func Debug

func Debug(vals ...interface{})

func Debugd added in v1.0.0

func Debugd(msg string, details ...interface{})

func Debugf

func Debugf(format string, vals ...interface{})

func Error

func Error(vals ...interface{})

func Errord added in v1.0.0

func Errord(msg string, details ...interface{})

func Errorf

func Errorf(format string, vals ...interface{})

func Fatal

func Fatal(vals ...interface{})

func Fatald added in v1.0.0

func Fatald(msg string, details ...interface{})

func Fatalf

func Fatalf(format string, vals ...interface{})

func Info

func Info(vals ...interface{})

func Infod added in v1.0.0

func Infod(msg string, details ...interface{})

func Infof

func Infof(format string, vals ...interface{})

func Init

func Init(opts ...Option)

func Warn

func Warn(vals ...interface{})

func Warnd added in v1.0.0

func Warnd(msg string, details ...interface{})

func Warnf

func Warnf(format string, vals ...interface{})

Types

type Option added in v0.0.2

type Option func(*option)

func WithFormat added in v0.0.2

func WithFormat(str string) Option

func WithLevel added in v0.0.2

func WithLevel(str string) Option

func WithLogger added in v0.0.2

func WithLogger(l logger.Logger) Option

func WithLoggerType added in v0.0.2

func WithLoggerType(str string) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL