applog

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: MIT Imports: 14 Imported by: 0

README

applog

applog to cloud using http.

Documentation

Index

Constants

View Source
const LevelError = 3

LevelError LevelError

View Source
const LevelFine = 0

LevelFine LevelFine

View Source
const LevelInfo = 1

LevelInfo LevelInfo

View Source
const LevelWarn = 2

LevelWarn LevelWarn

Variables

This section is empty.

Functions

func Error

func Error(tag string, message string, uid int64)

Error Error

func Fine

func Fine(tag string, message string, uid int64)

Fine Fine

func Info

func Info(tag string, message string, uid int64)

Info Info

func LevelName

func LevelName(level int) string

LevelName LevelName

func Warn

func Warn(tag string, message string, uid int64)

Warn Warn

Types

type AppConfig

type AppConfig struct {
	Code   int  `json:"code"`
	Enable bool `json:"enable"`
	Level  int  `json:"level"`
}

AppConfig AppConfig

type ConfigData

type ConfigData struct {
	Project string
	Version string
	Time    int
	Appid   int
	Token   string
	URL     string
	Enable  bool
	Level   int
}

ConfigData ConfigData

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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