Ruby logger (#251)

* Add logger for ruby environment

* Update readme and example for ruby logger

* ruby-env: log load time for user code
This commit is contained in:
S. Brent Faulkner
2017-07-07 18:05:11 -07:00
committed by Soam Vasani
parent fe4015fab2
commit 51c84f3cfc
6 changed files with 32 additions and 12 deletions
+3 -2
View File
@@ -9,8 +9,9 @@ The environment works via convention where you create a Ruby method
called `handler` with a single optional argument, a `Fission::Context`
object.
The `Fission::Context` object gives access to the Rack env, and a
request object. Please see `fission/context.rb` for the public api.
The `Fission::Context` object gives access to the Rack env, a
request object, and a logger. Please see `fission/context.rb` for the
public api.
The `Fission::Request` object is a subclass of `Rack::Request` and
provides access to parameters and headers. See `fission/request.rb`