()
| 371 | } |
| 372 | |
| 373 | func GetLogFileSize() (int64, error) { |
| 374 | f, e := Log.logFile.Stat() |
| 375 | if e != nil { |
| 376 | return 0, e |
| 377 | } |
| 378 | return f.Size(), nil |
| 379 | } |
| 380 | |
| 381 | func GetMaxLogChangeInterval(maxLogSize int64) int64 { |
| 382 | if maxLogSize != 0 { |
no test coverage detected