summaryrefslogtreecommitdiff
path: root/server/main_test.go
diff options
context:
space:
mode:
authorAnjan Nath <kaludios@gmail.com>2022-07-04 14:59:32 +0530
committerAnjan Nath <kaludios@gmail.com>2022-07-04 15:17:21 +0530
commitfbe1c1ec72293edcf61d7293f330e3d0ef6f2130 (patch)
tree57fb45931b018331cbc5aa74ee7326e59b61fbea /server/main_test.go
parent1de62aea0a77a79a4205950e9d590753cba09019 (diff)
Use log.Printf only when a format is provided
This adds a check to c.log to see if the format string is empty if its empty use log.Print and if a format is provided then use log.Printf
Diffstat (limited to 'server/main_test.go')
0 files changed, 0 insertions, 0 deletions