Removed temporary logging functions

This commit is contained in:
Tracker-Friendly 2025-01-08 18:21:54 +00:00
parent 1b4a0c9994
commit 79a1d24c56
1 changed files with 0 additions and 3 deletions

View File

@ -2,7 +2,6 @@ package main
import ( import (
"errors" "errors"
"fmt"
"time" "time"
"crypto/ed25519" "crypto/ed25519"
@ -37,7 +36,6 @@ var (
func logFunc(message string, messageType library.MessageCode, information *library.ServiceInitializationInformation) { func logFunc(message string, messageType library.MessageCode, information *library.ServiceInitializationInformation) {
// Log the message to the logger service // Log the message to the logger service
fmt.Println("here i am, sending a message to the logger service")
information.SendISMessage(loggerService, messageType, message) information.SendISMessage(loggerService, messageType, message)
} }
@ -171,7 +169,6 @@ func Main(information *library.ServiceInitializationInformation) {
go information.StartISProcessor() go information.StartISProcessor()
// Initiate a connection to the database // Initiate a connection to the database
fmt.Println("Connecting to the database")
conn, err := information.GetDatabase() conn, err := information.GetDatabase()
if err != nil { if err != nil {
logFunc(err.Error(), 3, information) logFunc(err.Error(), 3, information)