Class: MobME::Infrastructure::RPC::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/mobme/infrastructure/rpc/version.rb,
lib/mobme/infrastructure/rpc/base.rb

Class Method Summary (collapse)

Instance Method Summary (collapse)

Class Method Details

+ (Object) service_name



3
4
5
# File 'lib/mobme/infrastructure/rpc/base.rb', line 3

def self.service_name
  @service_name
end

Instance Method Details

- (Object) logger



7
8
9
10
11
12
13
# File 'lib/mobme/infrastructure/rpc/base.rb', line 7

def logger
  unless Syslog.opened?
    Syslog.open(self.class.service_name, Syslog::LOG_PID | Syslog::LOG_CONS)
  end

  Syslog
end