Documentation ¶ Index ¶ func Init() error func SetLevel(level string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ func Init() error func SetLevel ¶ func SetLevel(level string) SetLevel will change the level of logging and in case of Debug or Trace level it will also prevent from writing to file. Setting level to Info or higher will not set writing to file again if it was previously cancelled by Debug or Trace. Types ¶ This section is empty. Source Files ¶ View all Source files logging.go Click to show internal directories. Click to hide internal directories.