integrate core codes

This commit is contained in:
Alireza Ahmadi
2024-12-16 00:12:09 +01:00
parent f1b6c8a131
commit ecd9348a0f
22 changed files with 1528 additions and 424 deletions
+4
View File
@@ -43,6 +43,10 @@ func InitLogger(level logging.Level) {
logger = newLogger
}
func GetLogger() *logging.Logger {
return logger
}
func Debug(args ...interface{}) {
logger.Debug(args...)
addToBuffer("DEBUG", fmt.Sprint(args...))