rpcx: github.com/smallnest/rpcx/log Index | Files

package log

import "github.com/smallnest/rpcx/log"

Index

Package Files

default_logger.go dummy_logger.go logger.go

func Debug Uses

func Debug(v ...interface{})

func Debugf Uses

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

func Error Uses

func Error(v ...interface{})

func Errorf Uses

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

func Fatal Uses

func Fatal(v ...interface{})

func Fatalf Uses

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

func Handle Uses

func Handle(v ...interface{})

func Info Uses

func Info(v ...interface{})

func Infof Uses

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

func Panic Uses

func Panic(v ...interface{})

func Panicf Uses

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

func SetDummyLogger Uses

func SetDummyLogger()

func SetLogger Uses

func SetLogger(logger Logger)

func Warn Uses

func Warn(v ...interface{})

func Warnf Uses

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

type Handler Uses

type Handler interface {
    Handle(v ...interface{})
}

type Logger Uses

type Logger interface {
    Debug(v ...interface{})
    Debugf(format string, v ...interface{})

    Info(v ...interface{})
    Infof(format string, v ...interface{})

    Warn(v ...interface{})
    Warnf(format string, v ...interface{})

    Error(v ...interface{})
    Errorf(format string, v ...interface{})

    Fatal(v ...interface{})
    Fatalf(format string, v ...interface{})

    Panic(v ...interface{})
    Panicf(format string, v ...interface{})
}

Package log imports 4 packages (graph) and is imported by 63 packages. Updated 2019-02-12. Refresh now. Tools for package owners.