Sha256: f15f1ef2c1156643f9a4cae98e6759eca926e0754490be2656cecf98555f09ad

Contents?: true

Size: 526 Bytes

Versions: 2

Compression:

Stored size: 526 Bytes

Contents

module SemanticLogger
  # Formatting & colors used by optional color formatter
  module AnsiColors
    CLEAR     = "\e[0m"
    BOLD      = "\e[1m"
    BLACK     = "\e[30m"
    RED       = "\e[31m"
    GREEN     = "\e[32m"
    YELLOW    = "\e[33m"
    BLUE      = "\e[34m"
    MAGENTA   = "\e[35m"
    CYAN      = "\e[36m"
    WHITE     = "\e[37m"

    # DEPRECATED - NOT USED
    LEVEL_MAP = {
      trace: MAGENTA,
      debug: GREEN,
      info:  CYAN,
      warn:  BOLD,
      error: RED,
      fatal: RED
    }
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
semantic_logger-4.1.1 lib/semantic_logger/ansi_colors.rb
semantic_logger-4.1.0 lib/semantic_logger/ansi_colors.rb