Module: Atatus::Logging Private

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Constant Summary collapse

PREFIX =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'[Atatus] '
LEVELS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

{
  verbose: Logger::VERBOSE,
  debug: Logger::DEBUG,
  info: Logger::INFO,
  warn: Logger::WARN,
  error: Logger::ERROR,
  fatal: Logger::FATAL
}.freeze

Instance Method Summary collapse

Instance Method Details

#debug(msg, *args, &block) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



57
58
59
# File 'lib/atatus/logging.rb', line 57

def debug(msg, *args, &block)
  log(:debug, msg, *args, &block)
end

#error(msg, *args, &block) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



69
70
71
# File 'lib/atatus/logging.rb', line 69

def error(msg, *args, &block)
  log(:error, msg, *args, &block)
end

#fatal(msg, *args, &block) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



73
74
75
# File 'lib/atatus/logging.rb', line 73

def fatal(msg, *args, &block)
  log(:fatal, msg, *args, &block)
end

#info(msg, *args, &block) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



61
62
63
# File 'lib/atatus/logging.rb', line 61

def info(msg, *args, &block)
  log(:info, msg, *args, &block)
end

#verbose(msg, *args, &block) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



53
54
55
# File 'lib/atatus/logging.rb', line 53

def verbose(msg, *args, &block)
  log(:verbose, msg, *args, &block)
end

#warn(msg, *args, &block) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



65
66
67
# File 'lib/atatus/logging.rb', line 65

def warn(msg, *args, &block)
  log(:warn, msg, *args, &block)
end