Class | Logging::Appenders::File |
In: |
lib/logging/appenders/file.rb
|
Parent: | ::Logging::Appenders::IO |
Asserts that the given filename can be used as a log file by ensuring that if the file exists it is a regular file and it is writable. If the file does not exist, then the directory is checked to see if it is writable.
An ArgumentError is raised if any of these assertions fail.