intlog

package
v1.13.6 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package intlog provides internal logging for GoFrame development usage only.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(v ...interface{})

Error prints <v> with newline using fmt.Println. The parameter <v> can be multiple variables.

func Errorf

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

Errorf prints <v> with format <format> using fmt.Printf.

func IsEnabled

func IsEnabled() bool

IsEnabled checks and returns whether current process is in GF development.

func Print

func Print(v ...interface{})

Print prints <v> with newline using fmt.Println. The parameter <v> can be multiple variables.

func Printf

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

Printf prints <v> with format <format> using fmt.Printf. The parameter <v> can be multiple variables.

func SetEnabled

func SetEnabled(enabled bool)

SetEnabled enables/disables the internal logging manually. Note that this function is not current safe, be aware of the DATA RACE.

Types

This section is empty.

Jump to

Keyboard shortcuts

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