lib/dldinternet/mixlib/logging.rb in dldinternet-mixlib-logging-0.6.0 vs lib/dldinternet/mixlib/logging.rb in dldinternet-mixlib-logging-0.6.1

- old
+ new

@@ -280,15 +280,15 @@ class ::Logging::Layouts::Pattern # Arguments to sprintf keyed to directive letters verbose, $VERBOSE = $VERBOSE, nil # noinspection RubyStringKeysInHashInspection,RubyExpressionInStringInspection DIRECTIVE_TABLE = { - 'C' => 'event.file != "" ? "(\e[38;5;25m#{event.file}::#{event.line}\e[0m)" : ""', + 'C' => 'event.file != "" ? "(\e[38;5;25m#{event.file}:#{event.line}\e[0m)" : ""', 'c' => 'event.logger'.freeze, 'd' => 'format_date(event.time)'.freeze, 'F' => 'event.file'.freeze, 'f' => 'File.basename(event.file)'.freeze, - 'g' => 'event.file != "" ? "(\e[38;5;25m#{File.join(File.dirname(event.file).split(File::SEPARATOR)[-2..-1],File.basename(event.file))}::#{event.line}\e[0m)" : ""', + 'g' => 'event.file != "" ? "(\e[38;5;25m#{File.join(File.dirname(event.file).split(File::SEPARATOR)[-2..-1],File.basename(event.file))}:#{event.line}\e[0m)" : ""', 'l' => '::Logging::LNAMES[event.level]'.freeze, 'L' => 'event.line'.freeze, 'M' => 'event.method'.freeze, 'm' => 'format_obj(event.data)'.freeze, 'p' => 'Process.pid'.freeze,