logger

package
v0.0.0-...-9677058 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package logger is simply logger with sentry

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func C

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

C is alias with cretical

func Cretical

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

Cretical outputs ...

func Creticalf

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

Creticalf pritns as cretical

func Crtl

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

Crtl pritns as cretical

func D

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

D is alias with debug

func Debug

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

Debug outputs ...

func E

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

E is alias with error

func Err

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

Err outputs ...

func Errf

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

Errf pritns as error

func Error

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

Error pritns as error

func Errorf

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

Errorf pritns as error

func I

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

I is alias with info

func Info

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

Info pritns as information

func Infof

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

Infof pritns as information

func P

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

P is alias with panic

func Panic

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

Panic outputs ...

func Panicf

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

Panicf pritns as panic

func Printf

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

Printf pritns with format

func Println

func Println(args ...interface{})

Println outputs ...

func SetDebug

func SetDebug(debug bool)

SetDebug set debug flag

func SetSentry

func SetSentry(sentry bool)

SetSentry set

func T

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

T is alias with todo

func Todo

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

Todo outputs ...

func W

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

W is alias with warning

func Warn

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

Warn outputs ...

func Warnf

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

Warnf pritns as warning

func Warningf

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

Warningf pritns as warning

Types

type CRETICAL

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

CRETICAL Just for rename in sentry dashboard eventlog title

func (*CRETICAL) Error

func (e *CRETICAL) Error() string

type DEBUG

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

DEBUG Just for rename in sentry dashboard eventlog title

func (*DEBUG) Error

func (e *DEBUG) Error() string

type ERROR

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

ERROR Just for rename in sentry dashboard eventlog title

func (*ERROR) Error

func (e *ERROR) Error() string

type INFO

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

INFO Just for rename in sentry dashboard eventlog title

func (*INFO) Error

func (e *INFO) Error() string

type NOLEVEL

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

NOLEVEL Just for rename in sentry dashboard eventlog title

func (*NOLEVEL) Error

func (e *NOLEVEL) Error() string

type PANIC

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

PANIC Just for rename in sentry dashboard eventlog title

func (*PANIC) Error

func (e *PANIC) Error() string

type TODO

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

TODO Just for rename in sentry dashboard eventlog title

func (*TODO) Error

func (e *TODO) Error() string

type WARN

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

WARN Just for rename in sentry dashboard eventlog title

func (*WARN) Error

func (e *WARN) Error() string

Jump to

Keyboard shortcuts

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