Module: Tailog

Extended by:
WatchMethods
Defined in:
lib/tailog.rb,
lib/tailog/eval.rb,
lib/tailog/version.rb,
lib/tailog/request_id.rb,
lib/tailog/watch_methods.rb

Defined Under Namespace

Modules: WatchMethods Classes: App, Eval, RequestId

Constant Summary collapse

VERSION =
"0.7.0"

Class Attribute Summary collapse

Class Method Summary collapse

Methods included from WatchMethods

cleanup, inject, logger

Class Attribute Details

.log_pathObject

Returns the value of attribute log_path.



19
20
21
# File 'lib/tailog.rb', line 19

def log_path
  @log_path
end

.request_idObject

Returns the value of attribute request_id.



19
20
21
# File 'lib/tailog.rb', line 19

def request_id
  @request_id
end

Class Method Details

.process_uuidObject



25
26
27
# File 'lib/tailog.rb', line 25

def process_uuid
  @process_uuid ||= SecureRandom.uuid
end

.server_hostnameObject



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

def server_hostname
  @server_hostname ||= Socket.gethostname
end