Skip to content

Commit

Permalink
logger: add missing "event" value
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 3, 2014
1 parent 6ead7e2 commit e87db8d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ext/groonga/rb-grn-logger.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,9 @@ rb_grn_logger_fin (grn_ctx *ctx, void *user_data)
* groongaがログを出力する度に呼び出されるブロックを登録する。
*
* @overload register(options={})
* @yield [level, time, title, message, location]
* _level_ はSymbol、それ以外は全て文字列で渡される。 _level_ 以外
* @yield [event, level, time, title, message, location]
* _event_ と _level_ はSymbol、それ以外は全て文字列で渡される。
* _event_ と _level_ 以外
* の4つについては _options_ で +false+ を指定することでブロックに
* 渡さないようにすることができ、その場合は空文字列が実際には渡される。
* @param options [::Hash] The name and value
Expand Down

0 comments on commit e87db8d

Please sign in to comment.