|
|
@ -5,7 +5,7 @@ require 'amazing_print' |
|
|
|
require 'json' |
|
|
|
|
|
|
|
# Opinioned Rails custom formatter |
|
|
|
class BasicFormatter < SemanticLogger::Formatters::Color # rubocop:disable Metrics/ClassLength |
|
|
|
class BasicFormatter < SemanticLogger::Formatters::Color # rubocop:disable Metrics/ClassLength #FIXME: remove rubocop disable here! |
|
|
|
NAME_MAX_SIZE = 25 |
|
|
|
TERMINAL_PREFIX = ENV['TERMINAL_PREFIX'].to_i || 0 |
|
|
|
CONTENT_PREFIX = ' '.freeze |
|
|
|