lib/appengine-apis/merb-logger.rb in appengine-apis-0.0.1 vs lib/appengine-apis/merb-logger.rb in appengine-apis-0.0.2

- old
+ new

@@ -18,10 +18,13 @@ # # Switches the Merb Logger class to use the Google App Engine logging API. require 'merb-core/logger' -module Merb +module Merb # :nodoc: + + # Modifies the Merb Logger class to save logs using the Logging API + # instead of writing directly to a stream. class Logger def <<(string = nil) AppEngine::ApiProxy.log( AppEngine::ApiProxy::LogRecord::Level::info, string) end \ No newline at end of file