Module: Larrow::Qingcloud::Logger

Included in:
Base, Connection
Defined in:
lib/larrow/qingcloud/logger.rb

Overview

Qingcloud logger default log file: $current_dir/qingcloud.log

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



10
11
12
# File 'lib/larrow/qingcloud/logger.rb', line 10

def self.included(base)
  base.extend ClassMethods
end

Instance Method Details

#debug(msg) ⇒ Object



38
39
40
# File 'lib/larrow/qingcloud/logger.rb', line 38

def debug(msg)
  self.class.debug msg
end

#err(msg) ⇒ Object



46
47
48
# File 'lib/larrow/qingcloud/logger.rb', line 46

def err(msg)
  self.class.err msg
end

#info(msg) ⇒ Object



42
43
44
# File 'lib/larrow/qingcloud/logger.rb', line 42

def info(msg)
  self.class.info msg
end