Module: SwedbankPay::SidebarLogger

Defined in:
lib/sidebar_logger.rb

Overview

Logs stuff

Class Method Summary collapse

Class Method Details

.debug(message) ⇒ Object



9
10
11
# File 'lib/sidebar_logger.rb', line 9

def debug(message)
  Jekyll.logger.debug prefix(message)
end

.error(message) ⇒ Object



21
22
23
# File 'lib/sidebar_logger.rb', line 21

def error(message)
  Jekyll.logger.error prefix(message)
end

.info(message) ⇒ Object



13
14
15
# File 'lib/sidebar_logger.rb', line 13

def info(message)
  Jekyll.logger.info prefix(message)
end

.warn(message) ⇒ Object



17
18
19
# File 'lib/sidebar_logger.rb', line 17

def warn(message)
  Jekyll.logger.warn prefix(message)
end