Class: GLO::LOG::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/glo-logging-server-client/client.rb

Direct Known Subclasses

Logger

Instance Method Summary collapse

Constructor Details

#initialize(target, app) ⇒ Client

Returns a new instance of Client.



3
4
5
# File 'lib/glo-logging-server-client/client.rb', line 3

def initialize ( target, app )
  @conn = GLO::LOG::Conn.new( target, app )
end

Instance Method Details

#log(log_level, msg, tag) ⇒ Object



6
7
8
# File 'lib/glo-logging-server-client/client.rb', line 6

def log ( log_level, msg, tag )
  @conn.log( log_level, msg, tag)
end