 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ( TRACE *log.Logger DEBUG *log.Logger INFO *log.Logger WARN *log.Logger ERROR *log.Logger CRITICAL *log.Logger FATAL *log.Logger LOG *log.Logger FEEDBACK Feedback LogHandle io.Writer = ioutil.Discard OutHandle io.Writer = os.Stdout BothHandle io.Writer = io.MultiWriter(LogHandle, OutHandle) NotePads []*NotePad = []*NotePad{trace, debug, info, warn, err, critical, fatal} DATE = log.Ldate TIME = log.Ltime SFILE = log.Lshortfile LFILE = log.Llongfile MSEC = log.Lmicroseconds )
Functions ¶
func SetLogFile ¶
func SetLogFile(path string)
Conveniently Sets the Log Handle to a io.writer created for the file behind the given filepath Will only append to this file
func SetLogFlag ¶
func SetLogFlag(flags int)
Set the log Flags (Available flag: DATE, TIME, SFILE, LFILE and MSEC)
func SetLogThreshold ¶
func SetLogThreshold(level Level)
Establishes a threshold where anything matching or above will be logged
Types ¶
type Feedback ¶
type Feedback struct{}
    Feedback is special. It writes plainly to the output while logging with the standard extra information (date, file, etc) Only Println and Printf are currently provided for this
func (*Feedback) Printf ¶
Feedback is special. It writes plainly to the output while logging with the standard extra information (date, file, etc) Only Println and Printf are currently provided for this
       Source Files
      ¶
      Source Files
      ¶
    
- thatswhyyoualwaysleaveanote.go
 Click to show internal directories. 
   Click to hide internal directories. 
 Graphic by
Graphic by