Skip to content

Commit

Permalink
Merge pull request #270 from shanedewael/bolt-fix-logging-docs
Browse files Browse the repository at this point in the history
Add `getLevel()` to logger docs
  • Loading branch information
Shane DeWael authored Oct 4, 2019
2 parents 1f551bf + c7594ee commit 347533b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/_advanced/ja_logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const app = new App({
| メソッド | パラメーター | 戻り値の型 |
|--------------|-------------------|-------------|
| `setLevel()` | `level: LogLevel` | `void` |
| `getLevel()` | なし | `string` (値は `error`, `warn`, `info`, `debug` のいずれか) |
| `setName()` | `name: string` | `void` |
| `debug()` | `...msgs: any[]` | `void` |
| `info()` | `...msgs: any[]` | `void` |
Expand Down
1 change: 1 addition & 0 deletions docs/_advanced/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ If you want to send logs to somewhere besides the console or want more control o
| Method | Parameters | Return type |
|--------------|-------------------|-------------|
| `setLevel()` | `level: LogLevel` | `void` |
| `getLevel()` | None | `string` with value `error`, `warn`, `info`, or `debug` |
| `setName()` | `name: string` | `void` |
| `debug()` | `...msgs: any[]` | `void` |
| `info()` | `...msgs: any[]` | `void` |
Expand Down

0 comments on commit 347533b

Please sign in to comment.