diff options
author | Anjan Nath <kaludios@gmail.com> | 2022-07-04 14:59:32 +0530 |
---|---|---|
committer | Anjan Nath <kaludios@gmail.com> | 2022-07-04 15:17:21 +0530 |
commit | fbe1c1ec72293edcf61d7293f330e3d0ef6f2130 (patch) | |
tree | 57fb45931b018331cbc5aa74ee7326e59b61fbea /listener.go | |
parent | 1de62aea0a77a79a4205950e9d590753cba09019 (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 'listener.go')
0 files changed, 0 insertions, 0 deletions