|
@ -5,7 +5,7 @@ require 'amazing_print' |
|
|
require 'json' |
|
|
require 'json' |
|
|
|
|
|
|
|
|
# Opinioned Rails custom formatter |
|
|
# 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 |
|
|
NAME_MAX_SIZE = 25 |
|
|
TERMINAL_PREFIX = ENV['TERMINAL_PREFIX'].to_i || 0 |
|
|
TERMINAL_PREFIX = ENV['TERMINAL_PREFIX'].to_i || 0 |
|
|
CONTENT_PREFIX = ' '.freeze |
|
|
CONTENT_PREFIX = ' '.freeze |
|
|