Wednesday, July 15, 2026 2:52:50 AM
> project show esm_bot
A sophisticated Discord bot that bridges Arma 3 Exile servers with Discord communities. Built in Ruby with secure TCP communication, it delivers territory management, real-time notifications, and comprehensive server administration right in your Discord channels.
Details
> logger.rb
# frozen_string_literal: true

class Logger
  remove_const(:SEV_LABEL)

  SEV_LABEL = {
    -1 => "TRACE",
    0 => "DEBUG",
    1 => "INFO",
    2 => "WARN",
    3 => "ERROR",
    4 => "FATAL",
    5 => "ANY"
  }.freeze

  module Severity
    TRACE = -1
  end

  def trace(progname = nil, &)
    add(TRACE, nil, progname, &)
  end

  def trace?
    @level <= TRACE
  end
end
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7