Safe Haskell | Safe-Inferred |
---|
- data FileLogSpec = FileLogSpec {
- log_file :: FilePath
- log_file_size :: Integer
- log_backup_number :: Int
- check :: FileLogSpec -> IO ()
- rotate :: FileLogSpec -> IO ()
Documentation
data FileLogSpec Source
The spec for logging files
FileLogSpec | |
|
check :: FileLogSpec -> IO ()Source
Checking if a log file can be written.
rotate :: FileLogSpec -> IO ()Source
Rotating log files.