Skip to content

Commit

Permalink
Bug fix logger warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Cataldo committed Mar 29, 2024
1 parent 552b66f commit af63adb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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.9-vividgreen.svg)](https://github.com/GabrielHCataldo/go-logger/releases/tag/v1.2.9)
[![Project status](https://img.shields.io/badge/version-v1.3.0-vividgreen.svg)](https://github.com/GabrielHCataldo/go-logger/releases/tag/v1.3.0)
[![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
2 changes: 1 addition & 1 deletion logger/warning.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func WarningOptsME(opts Options, v ...any) {
//
// [WARNING 2023/12/09 19:26:09] example.go:239: test, true, 112, last is 10.99
func WarningOptsf(format string, opts Options, v ...any) {
printLog(levelWarning, 2, opts, format, loggerTagHide, v...)
printLog(levelWarning, 2, opts, format, "", v...)
}

// WarningOptsfH is a function that records informational messages based on the Options variable passed as a parameter,
Expand Down

0 comments on commit af63adb

Please sign in to comment.