Categorygithub.com/Billes/go-logger-client

# README

** Beskrivning Enkel go-klient för att skicka loggar till billes logbook

#+BEGIN_EXAMPLE go get github.com/Billes/go-logger-client #+END_EXAMPLE

** Typdefinitioner

*** Options #+BEGIN_EXAMPLE type Options struct { Host string System string Token string Local bool Timeout int } #+END_EXAMPLE *** Init Obligatorisk. Måste köras en gång innan man börjar logga #+BEGIN_EXAMPLE func Init(o Options) #+END_EXAMPLE *** Logfunktioner **** Standard #+BEGIN_EXAMPLE func Critical(tags []string, message string, data interface{}) func Debug(tags []string, message string, data interface{}) func Error(tags []string, message string, data interface{}) func Info(tags []string, message string, data interface{}) func Warning(tags []string, message string, data interface{}) #+END_EXAMPLE **** Fatal - Avslutar efter en critical loggning #+BEGIN_EXAMPLE func Fatal(tags []string, message string, data interface{}) #+END_EXAMPLE

# Packages

No description provided by the author