Class: VWOLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/wingify/packages/logger/logger.rb

Overview

logger.rb

Direct Known Subclasses

LogManager

Instance Method Summary collapse

Instance Method Details

#debug(message) ⇒ Object

Raises:

  • (NotImplementedError)


22
23
24
# File 'lib/wingify/packages/logger/logger.rb', line 22

def debug(message)
  raise NotImplementedError, "You must implement the debug method"
end

#error(message) ⇒ Object

Raises:

  • (NotImplementedError)


34
35
36
# File 'lib/wingify/packages/logger/logger.rb', line 34

def error(message)
  raise NotImplementedError, "You must implement the error method"
end

#info(message) ⇒ Object

Raises:

  • (NotImplementedError)


26
27
28
# File 'lib/wingify/packages/logger/logger.rb', line 26

def info(message)
  raise NotImplementedError, "You must implement the info method"
end

#trace(message) ⇒ Object

Abstract method definitions for logging at different levels

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/wingify/packages/logger/logger.rb', line 18

def trace(message)
  raise NotImplementedError, "You must implement the trace method"
end

#warn(message) ⇒ Object

Raises:

  • (NotImplementedError)


30
31
32
# File 'lib/wingify/packages/logger/logger.rb', line 30

def warn(message)
  raise NotImplementedError, "You must implement the warn method"
end