apache / dubbo-admin

The ops and reference implementation for Apache Dubbo
https://dubbo.apache.org
Apache License 2.0
3.99k stars 2.17k forks source link

add logger wrapper #1094

Closed 2456868764 closed 1 year ago

2456868764 commented 1 year ago

What is the purpose of the change

Add logger wrapper interfaces for consistent usage.

Brief changelog

log wapper interfaces under logger package as follow:

` func Debug(args ...interface{})

func Debugf(format string, args ...interface{})

func Info(args ...interface{})

func Infof(format string, args ...interface{})

func Warn(args ...interface{})

func Warnf(format string, args ...interface{})

func Error(args ...interface{})

func Errorf(format string, args ...interface{})

func Panic(args ...interface{})

func Panicf(format string, args ...interface{})

func Fatal(args ...interface{})

func Fatalf(format string, args ...interface{}) `

Verifying this change

XXXX

Follow this checklist to help us incorporate your contribution quickly and easily:

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information