lib/ougai/formatters/readable.rb in ougai-1.6.3 vs lib/ougai/formatters/readable.rb in ougai-1.6.4

- old
+ new

@@ -12,11 +12,10 @@ # @param [String] app_name application name (execution program name if nil) # @param [String] hostname hostname (hostname if nil) # @param [Hash] opts the initial values of attributes # @option opts [String] :trace_indent (4) the value of trace_indent attribute # @option opts [String] :trace_max_lines (100) the value of trace_max_lines attribute - # @option opts [String] :serialize_backtrace (true) the value of serialize_backtrace attribute # @option opts [String] :plain (false) the value of plain attribute # @option opts [String] :excluded_fields ([]) the value of excluded_fields attribute def initialize(app_name = nil, hostname = nil, opts = {}) aname, hname, opts = Base.parse_new_params([app_name, hostname, opts]) super(aname, hname, opts) @@ -37,10 +36,10 @@ data_str = create_data_str(data) format_log_parts(dt, level, msg, err_str, data_str) end def serialize_backtrace=(value) - raise RuntimeError, 'Not support serialize_backtrace' + raise NotImplementedError, 'Not support serialize_backtrace' end protected def format_log_parts(datetime, level, msg, err, data)