log

package
v1.7.14 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Copyright (C) 2019-2024 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 ...any)

func Debugd added in v1.0.0

func Debugd(msg string, details ...any)

func Debugf

func Debugf(format string, vals ...any)

func Error

func Error(vals ...any)

func Errord added in v1.0.0

func Errord(msg string, details ...any)

func Errorf

func Errorf(format string, vals ...any)

func Fatal

func Fatal(vals ...any)

func Fatald added in v1.0.0

func Fatald(msg string, details ...any)

func Fatalf

func Fatalf(format string, vals ...any)

func Info

func Info(vals ...any)

func Infod added in v1.0.0

func Infod(msg string, details ...any)

func Infof

func Infof(format string, vals ...any)

func Init

func Init(opts ...Option)

func Warn

func Warn(vals ...any)

func Warnd added in v1.0.0

func Warnd(msg string, details ...any)

func Warnf

func Warnf(format string, vals ...any)

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