1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00

api: rename createLogger to loggerCreate

This commit is contained in:
Adhityaa Chandrasekar
2018-07-24 12:12:03 +05:30
parent b7b224983c
commit 1f45c04aca
4 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@ import (
var logger *logging.Logger
func createLogger() error {
func loggerCreate() error {
format := logging.MustStringFormatter("[%{level}] %{shortfile} %{shortfunc}(): %{message}")
logging.SetFormatter(format)
logger = logging.MustGetLogger("commento")