mirror of
https://github.com/onyx-and-iris/obsws-ruby.git
synced 2026-04-18 05:23:32 +00:00
patch bump
add full request payload to logger. raise OBSWSError if auth enabled but no password provided add example tasks to rake file add logging section to README
This commit is contained in:
13
README.md
13
README.md
@@ -115,6 +115,19 @@ If a request fails an `OBSWSError` will be raised with a status code.
|
||||
|
||||
For a full list of status codes refer to [Codes](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#requeststatus)
|
||||
|
||||
### Logging
|
||||
|
||||
To see the raw messages set log level to debug
|
||||
|
||||
example:
|
||||
|
||||
```ruby
|
||||
require "obsws"
|
||||
|
||||
OBSWS::LOGGER.debug!
|
||||
...
|
||||
```
|
||||
|
||||
### Tests
|
||||
|
||||
To run all tests:
|
||||
|
||||
Reference in New Issue
Block a user