|
@ -6,14 +6,8 @@ module Semantic |
|
|
CENTER_SIZE = 20 |
|
|
CENTER_SIZE = 20 |
|
|
TAG_FIXED_LENGTH = Rails.application.config.x.action_controller.main_session_tag_fixed_length || 10 |
|
|
TAG_FIXED_LENGTH = Rails.application.config.x.action_controller.main_session_tag_fixed_length || 10 |
|
|
|
|
|
|
|
|
def initialize(time_format: nil) |
|
|
|
|
|
super(color_map: ColorMap.new( |
|
|
|
|
|
debug: CLEAR + TEXT_GRAY_400, |
|
|
|
|
|
info: CLEAR + TEXT_GRAY_100, |
|
|
|
|
|
warn: CLEAR + BG_YELLOW + TEXT_BLACK, |
|
|
|
|
|
error: CLEAR + DARK_BG_RED + TEXT_WHITE, |
|
|
|
|
|
fatal: CLEAR + BG_MAGENTA + BOLD + TEXT_WHITE |
|
|
|
|
|
)) |
|
|
|
|
|
|
|
|
def initialize(color_map:, time_format: nil) |
|
|
|
|
|
super(color_map:) |
|
|
@time_format = time_format |
|
|
@time_format = time_format |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|