changed Logger calling convention and gofmt