Skip to content

Commit 3b437d7

Browse files
committed
Show in the README how to set the logger level
1 parent 0fdf327 commit 3b437d7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2086,6 +2086,14 @@ class API < Grape::API
20862086
end
20872087
```
20882088

2089+
To change the logger level.
2090+
2091+
```ruby
2092+
class API < Grape::API
2093+
self.logger.level = Logger::INFO
2094+
end
2095+
```
2096+
20892097
You can also set your own logger.
20902098

20912099
```ruby

0 commit comments

Comments
 (0)