feat: initial commit

This commit is contained in:
Simon Cornet 2025-03-06 11:25:38 +01:00
commit 693724d3b8
7 changed files with 116 additions and 0 deletions

14
cmd/logger/prefix.go Normal file
View file

@ -0,0 +1,14 @@
package logging
var applicationName = "MyApp"
// Sets the application name prefix used in the logoutput. Example:
// <applicationName> | ...
func SetAppName(name string) {
applicationName = name
}
// Returns the logging prefix name as string.
func GetAppName() string {
return applicationName
}