Close a log file
()
| 73 | |
| 74 | // Close a log file |
| 75 | func (l *LogFile) Close() error { |
| 76 | return l.File.Close() |
| 77 | } |
| 78 | |
| 79 | // Rotate closes the current log file, rotates the files and creates an empty log file. |
| 80 | func (l *LogFile) Rotate(maxLogFiles int) error { |
no outgoing calls