Thomasdezeeuw / logger

Logger is a asynchronous logging package for Go and it's build for customisation and speed.
MIT License
1 stars 0 forks source link

Metric logger #14

Open Thomasdezeeuw opened 8 years ago

Thomasdezeeuw commented 8 years ago

Add metrics function, something like:

func CollectMetrics(every time.Duration) {
  // collecting...
}
Thomasdezeeuw commented 8 years ago

By default track stuff like:

Add custom counter with for example number of active requests and total number of request processed.