mirror of
https://github.com/mgechev/revive.git
synced 2025-11-25 22:12:38 +02:00
docs: improve comments for functions; enable godot (#1382)
This commit is contained in:
@@ -12,7 +12,7 @@ const logFile = "revive.log"
|
||||
var logger *slog.Logger
|
||||
|
||||
// GetLogger retrieves an instance of an application logger which outputs
|
||||
// to a file if the debug flag is enabled
|
||||
// to a file if the debug flag is enabled.
|
||||
func GetLogger() (*slog.Logger, error) {
|
||||
if logger != nil {
|
||||
return logger, nil
|
||||
|
||||
Reference in New Issue
Block a user