Sha256: 0bd89c59cd16cd92f3e190005a2245a7419acfa50a5530237d74f23c9252f653

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 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

1 entries across 1 versions & 1 rubygems

Version Path
semantic_logger-4.2.0 lib/semantic_logger/ansi_colors.rb