feat: rename package to logger
This commit is contained in:
parent
80d01ed762
commit
69002909b5
3 changed files with 4 additions and 4 deletions
4
debug.go
4
debug.go
|
|
@ -1,4 +1,4 @@
|
||||||
package logging
|
package logger
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"io"
|
"io"
|
||||||
|
|
@ -7,7 +7,7 @@ import (
|
||||||
|
|
||||||
var debug bool
|
var debug bool
|
||||||
|
|
||||||
// Enables debug logging if set to true. Default is false.
|
// Enables debug logger if set to true. Default is false.
|
||||||
func SetDebug(debugSetting bool) {
|
func SetDebug(debugSetting bool) {
|
||||||
debug = debugSetting
|
debug = debugSetting
|
||||||
if !debug {
|
if !debug {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package logging
|
package logger
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package logging
|
package logger
|
||||||
|
|
||||||
var applicationName = "MyApp"
|
var applicationName = "MyApp"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue