Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
michelhe committed Aug 27, 2023
1 parent a4a3d0b commit 9427309
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glogger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ The most trivial way to use gLogger is like so:
```python
import logging
from glogger.handler import BatchRequestsHandler
from glogger.sender import Sender
from glogger.sender import Sender, AuthToken

handler = BatchRequestsHandler(Sender("my_app", "logs.example.com", auth_token=AUTH_TOKEN))
handler = BatchRequestsHandler(Sender("my_app", "logs.example.com", auth=AuthToken(AUTH_TOKEN)))
logging.basicConfig(handlers=[handler])
```

Expand Down

0 comments on commit 9427309

Please sign in to comment.