feat: moved go files to root
This commit is contained in:
parent
1d8b4f27b1
commit
379e54efd7
3 changed files with 0 additions and 0 deletions
14
prefix.go
Normal file
14
prefix.go
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue