Logo
Explore Help
Sign In
idk/go-sam-go
1
0
Fork 0
You've already forked go-sam-go
mirror of https://github.com/go-i2p/go-sam-go.git synced 2025-07-21 20:20:02 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
0e35eb2df38b047216e11ffbc73ddeba05c95582
go-sam-go/primary/log.go

11 lines
180 B
Go
Raw Normal View History

part out sam3
2025-02-17 21:46:19 -05:00
package primary
Clean up and fixes - Define and use a few constants for the sake of code maintainability - Change log package name to logger so it better reflects its purpose - Fix depredations - Drop unused private methods and constants - Create an auxiliary func newFromPrimary() to reduce code duplicacy. Also straight away type conversion doesn't seem to type-check. Got to explicitly create a new struct instance.
2025-03-12 21:39:23 +00:00
import logger "github.com/go-i2p/go-sam-go/logger"
part out sam3
2025-02-17 21:46:19 -05:00
var log = logger.GetSAM3Logger()
func init() {
logger.InitializeSAM3Logger()
log = logger.GetSAM3Logger()
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 3531e9d Page: 54ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API