top
(README.md)
# logger4go
simple logger for golang

### Stand by
```
go get github.com/Sirupsen/logrus
go get github.com/rifflock/lfshook
```

### usage
first import
```
import "github.com/Alexniver/logger4go"
```

```
logger := logger4go.GetDefaultLogger()
logger.Debug("Debug")
logger.Info("Info")
logger.Warn("Warn")
logger.Error("Error.")
// Calls os.Exit(1) after logging
logger.Fatal("Fatal.")
// Calls panic() after logging
logger.Panic("Panic.")
```

Imported by 2 package(s)

  1. github.com/Alexniver/crawler
  2. github.com/Alexniver/crawler/example

Imports 2 package(s)

  1. github.com/Sirupsen/logrus
  2. github.com/rifflock/lfshook