Module: ManageIQ::PostgresHaAdmin::Logging

Included in:
FailoverMonitor, ServerStore
Defined in:
lib/manageiq/postgres_ha_admin/logging.rb

Instance Method Summary collapse

Instance Method Details

#log_prefix(method) ⇒ Object



8
9
10
# File 'lib/manageiq/postgres_ha_admin/logging.rb', line 8

def log_prefix(method)
  "(PostgresHaAdmin##{method})"
end

#loggerObject



4
5
6
# File 'lib/manageiq/postgres_ha_admin/logging.rb', line 4

def logger
  ManageIQ::PostgresHaAdmin.logger
end