Class: MobME::Infrastructure::RPC::Base
- Inherits:
-
Object
- Object
- MobME::Infrastructure::RPC::Base
- 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
.service_name ⇒ Object
3 4 5 |
# File 'lib/mobme/infrastructure/rpc/base.rb', line 3 def self.service_name @service_name end |
Instance Method Details
#logger ⇒ Object
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 |