Skip to content

Commit

Permalink
Bug fix space prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Cataldo committed Feb 9, 2024
1 parent 0b59b3e commit 5bf77e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ go-logger
=================
<img align="right" src="gopher-logger.png" alt="">

[![Project status](https://img.shields.io/badge/version-v1.2.6-vividgreen.svg)](https://github.com/GabrielHCataldo/go-logger/releases/tag/v1.2.6)
[![Project status](https://img.shields.io/badge/version-v1.2.7-vividgreen.svg)](https://github.com/GabrielHCataldo/go-logger/releases/tag/v1.2.7)
[![Go Report Card](https://goreportcard.com/badge/github.com/GabrielHCataldo/go-logger)](https://goreportcard.com/report/github.com/GabrielHCataldo/go-logger)
[![Coverage Status](https://coveralls.io/repos/GabrielHCataldo/go-logger/badge.svg?branch=main&service=github)](https://coveralls.io/github/GabrielHCataldo/go-logger?branch=main)
[![Open Source Helpers](https://www.codetriage.com/gabrielhcataldo/go-logger/badges/users.svg)](https://www.codetriage.com/gabrielhcataldo/go-logger)
Expand Down
1 change: 1 addition & 0 deletions logger/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ func getLoggerNormalPrefix(lvl level, skipCaller int, opts Options) string {
b.WriteString(getArgLogLevel(lvl, opts))
b.WriteString(datetimeString)
if !opts.HideAllArgs && !opts.HideArgCaller {
b.WriteString(" ")
b.WriteString(StyleUnderscore)
b.WriteString(getArgCaller(skipCaller))
b.WriteString(StyleReset)
Expand Down

0 comments on commit 5bf77e0

Please sign in to comment.