vendor/bundle/ruby/2.6.0/gems/lumberjack-1.2.8/lib/lumberjack/device/date_rolling_log_file.rb
def archive_file_suffix
        case @roll_period
        when :weekly
          @file_date.strftime("week-of-%Y-%m-%d").to_s
        when :monthly
          @file_date.strftime("%Y-%m").to_s
        else
          @file_date.strftime("%Y-%m-%d").to_s
        end
      end
# Create a new logging device to the specified file. The period to roll the file is specified
# with the :roll option which may contain a value of :daily, :weekly,
# or :monthly.
Create a new logging device to the specified file. The period to roll the file is specified
with the :roll option which may contain a value of :daily, :weekly,
or :monthly.
Create a new logging device to the specified file . The period to roll the file is specified with the : roll option which may contain a value of : daily : weekly or : monthly .
def archive_file_suffix
        case @roll_period
        when :weekly
          @file_date.strftime("week-of-%Y-%m-%d").to_s
        when :monthly
          @file_date.strftime("%Y-%m").to_s
        else
          @file_date.strftime("%Y-%m-%d").to_s
        end
      end
def archive_file_suffix case @roll_period when :weekly @file_date . strftime ( "week-of-%Y-%m-%d" ) . to_s when :monthly @file_date . strftime ( "%Y-%m" ) . to_s else @file_date . strftime ( "%Y-%m-%d" ) . to_s end end
Create a new logging device to the specified file.
Create a new logging device to the specified file .