method
open_logfile
v2_4_6 -
Show latest stable
- Class:
Logger::LogDevice
open_logfile(filename)private
No documentation available.
# File lib/logger.rb, line 742
def open_logfile(filename)
begin
open(filename, (File::WRONLY | File::APPEND))
rescue Errno::ENOENT
create_logfile(filename)
end
end