Class: Object

Inherits:
BasicObject
Defined in:
lib/tracee/ext/object.rb

Instance Method Summary collapse

Instance Method Details

#__log__(caller_at: 0) ⇒ Object



3
4
5
6
7
8
# File 'lib/tracee/ext/object.rb', line 3

def __log__(caller_at: 0)
  if Tracee.default_logger
    Tracee.default_logger.debug(caller_at: caller_at + 1) {inspect}
  end
  self
end