System.Log.FastLogger.File

fast-logger-2.4.6: A fast logging system

Safe Haskell | Safe
Language | Haskell98

System.Log.FastLogger.File

Synopsis

- data FileLogSpec = FileLogSpec {
  - log_file :: FilePath
  - log_file_size :: Integer
  - log_backup_number :: Int
  }
- check :: FilePath -> IO ()
- rotate :: FileLogSpec -> IO ()

# Documentation

data FileLogSpec #

The spec for logging files

Constructors

FileLogSpec |
Fields log_file :: FilePath log_file_size :: Integer log_backup_number :: Int

check :: FilePath -> IO () #

Checking if a log file can be written.

rotate :: FileLogSpec -> IO () #

Rotating log files.