tlog

package module
v0.0.0-...-339a8b1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 3 Imported by: 9

README

tlog

Team Log

Overview

Quick Start

Contributing

License

Released under the MIT License.

Documentation

Index

Constants

View Source
const (
	DEBUG = iface.DEBUG
	INFO  = iface.INFO
	WARN  = iface.WARN
	ERROR = iface.ERROR
	PANIC = iface.PANIC
	FATAL = iface.FATAL
)

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

func Debugf

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

func Debugw

func Debugw(message string, kvs ...interface{})

func Error

func Error(args ...interface{})

func Errorf

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

func Errorw

func Errorw(message string, kvs ...interface{})

func Fatal

func Fatal(args ...interface{})

func Fatalf

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

func Fatalw

func Fatalw(message string, kvs ...interface{})

func Info

func Info(args ...interface{})

func Infof

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

func Infow

func Infow(message string, kvs ...interface{})

func Panic

func Panic(args ...interface{})

func Panicf

func Panicf(format string, args ...interface{})

func Panicw

func Panicw(message string, kvs ...interface{})

func Print

func Print(depth int, level Level, args ...interface{})

func Printf

func Printf(depth int, level Level, format string, args ...interface{})

func Printw

func Printw(depth int, level Level, message string, kvs ...interface{})

func Warn

func Warn(args ...interface{})

func Warnf

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

func Warnw

func Warnw(message string, kvs ...interface{})

Types

type Level

type Level = iface.Level

type Logger

type Logger = iface.Logger

func GetLogger

func GetLogger() Logger

func Named

func Named(name string) Logger

func SetLogger

func SetLogger(l Logger) (old Logger)

func WithArgs

func WithArgs(args ...interface{}) Logger

func WithContext

func WithContext(ctx context.Context) Logger

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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