package handler

import (
	"github.com/Sirupsen/logrus"
	"github.com/unrolled/render"
)

var (
	log    *logrus.Logger
	output = render.New(render.Options{Layout: "layout"})
)

func SetLogger(l *logrus.Logger) {
	log = l
}

package handler

import (
	"github.com/Sirupsen/logrus"
	"github.com/unrolled/render"
)

var (
	l *logrus.Logger
	output = render.New(render.Options{Layout: "layout"})
)

func SetLogger(logger *logrus.Logger) {
	l = logger
}

--- 
+++ 
@@ -6,10 +6,10 @@
 )
 
 var (
-	l *logrus.Logger
+	log    *logrus.Logger
 	output = render.New(render.Options{Layout: "layout"})
 )
 
-func SetLogger(logger *logrus.Logger) {
-	l = logger
+func SetLogger(l *logrus.Logger) {
+	log = l
 }
Rename `l` to `log` for readability
