Skip to content
Branch: master
Find file Copy path
Find file Copy path
@johngcn johngcn gofmt fe179ff Jun 21, 2019
1 contributor

Users who have contributed to this file

27 lines (21 sloc) 648 Bytes
// Copyright 2018 gf Author( All Rights Reserved.
// This Source Code Form is subject to the terms of the MIT License.
// If a copy of the MIT was not distributed with this file,
// You can obtain one at
package g
import (
// SetDebug disables/enables debug level for logging component globally.
func SetDebug(debug bool) {
// SetLogLevel sets the logging level globally.
func SetLogLevel(level int) {
// GetLogLevel returns the global logging level.
func GetLogLevel() int {
return glog.GetLevel()
You can’t perform that action at this time.