implement the first log message

This commit is contained in:
Gregory Wells
2026-03-24 16:57:28 -04:00
parent b96f65c294
commit ac20f9172d
3 changed files with 11 additions and 1 deletions

View File

@@ -1 +0,0 @@
package logger

7
src/logging/logging.go Normal file
View File

@@ -0,0 +1,7 @@
package logging
import "log"
func Info(message string) {
log.Print(message)
}

View File

@@ -11,6 +11,8 @@ import (
"strings"
"sync"
"time"
"astraltech.xyz/accountmanager/src/logging"
)
var (
@@ -306,6 +308,8 @@ func cleanupSessions() {
}
func main() {
logging.Info("Starting the server")
var err error = nil
blankPhotoData, err = os.ReadFile("static/blank_profile.jpg")