Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 64856b1

Browse files
author
fbockaj
committed
Spaces instead of tabs
1 parent 513024c commit 64856b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

types/logger.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,30 +34,30 @@ func (sl *SyncLogger) SetOutput(w io.Writer) {
3434
func (sl *SyncLogger) Debug(format string, v ...interface{}) {
3535
sl.Lock()
3636
defer sl.Unlock()
37-
taggedFormat := fmt.Sprintf("[DEBUG]\tsignctrl: %v", format)
37+
taggedFormat := fmt.Sprintf("[DEBUG] signctrl: %v", format)
3838
_ = sl.logger.Output(2, fmt.Sprintf(taggedFormat, v...))
3939
}
4040

4141
// Info calls sl.Output to print an info message to the logger.
4242
func (sl *SyncLogger) Info(format string, v ...interface{}) {
4343
sl.Lock()
4444
defer sl.Unlock()
45-
taggedFormat := fmt.Sprintf("[INFO]\tsignctrl: %v", format)
45+
taggedFormat := fmt.Sprintf("[INFO] signctrl: %v", format)
4646
_ = sl.logger.Output(2, fmt.Sprintf(taggedFormat, v...))
4747
}
4848

4949
// Warn calls sl.Output to print a warning message to the logger.
5050
func (sl *SyncLogger) Warn(format string, v ...interface{}) {
5151
sl.Lock()
5252
defer sl.Unlock()
53-
taggedFormat := fmt.Sprintf("[WARN]\tsignctrl: %v", format)
53+
taggedFormat := fmt.Sprintf("[WARN] signctrl: %v", format)
5454
_ = sl.logger.Output(2, fmt.Sprintf(taggedFormat, v...))
5555
}
5656

5757
// Error calls sl.Output to print an error message to the logger.
5858
func (sl *SyncLogger) Error(format string, v ...interface{}) {
5959
sl.Lock()
6060
defer sl.Unlock()
61-
taggedFormat := fmt.Sprintf("[ERR]\tsignctrl: %v", format)
61+
taggedFormat := fmt.Sprintf("[ERR] signctrl: %v", format)
6262
_ = sl.logger.Output(2, fmt.Sprintf(taggedFormat, v...))
6363
}

0 commit comments

Comments
 (0)