facade

package
v0.0.0-...-179e57f Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

* @Description: * @Author: gphper * @Date: 2021-08-22 12:19:59

* @Description: * @Author: gphper * @Date: 2021-08-22 12:22:29

* @Description: * @Author: gphper * @Date: 2021-08-22 12:22:19

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log interface {
	Info(string, map[string]string)
	Error(string, map[string]string)
}

func NewLogger

func NewLogger(path string) (logger Log)

type RedisLog

type RedisLog struct {
	// contains filtered or unexported fields
}

func (RedisLog) Error

func (rlog RedisLog) Error(msg string, info map[string]string)

func (RedisLog) Info

func (rlog RedisLog) Info(msg string, info map[string]string)

type ZapLog

type ZapLog struct {
	// contains filtered or unexported fields
}

func (ZapLog) Error

func (zlog ZapLog) Error(msg string, info map[string]string)

func (ZapLog) Info

func (zlog ZapLog) Info(msg string, info map[string]string)

Jump to

Keyboard shortcuts

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