Class: GLO::LOG::Client
- Inherits:
-
Object
- Object
- GLO::LOG::Client
- Defined in:
- lib/glo-logging-server-client/client.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(target, app) ⇒ Client
constructor
A new instance of Client.
- #log(log_level, msg, tag) ⇒ Object
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 |