lib/semantic_logger/log.rb
# Returns [String, String] the file_name and line_number from the backtrace supplied
# in either the backtrace or exception
Returns [String, String] the file_name and line_number from the backtrace supplied
in either the backtrace or exception
Returns [ String String ] the file_name and line_number from the backtrace supplied in either the backtrace or exception
def file_name_and_line(short_name = false)
      if backtrace || (exception && exception.backtrace)
        stack = backtrace || exception.backtrace
        extract_file_and_line(stack, short_name) if stack && stack.size > 0
      end
    end
def file_name_and_line ( short_name = false ) if backtrace || ( exception && exception . backtrace ) stack = backtrace || exception . backtrace extract_file_and_line ( stack , short_name ) if stack && stack . size > 0 end end
Returns [String, String] the file_name and line_number from the backtrace supplied
in either the backtrace or exception
Returns [ String String ] the file_name and line_number from the backtrace supplied in either the backtrace or exception
short_name