Commit Graph

13 Commits

Author SHA1 Message Date
Derek Duncan
44bac0adc5 Migrate from zerolog to slog (#248)
* Begin adding new slog calls

* Fixed unit tests

* Add leveler example

* Add debug log level to Redis example

* Change location of server.Close() and add logs to example/hooks

* Begin removing references to zerolog

* Removed final references to zerolog

* Change where server.Close() occurs in main

* Change to 1.21 to remove x dependency

* Add slog

* Update references to 1.21

* Begin change of LogAttrs to standard logging interface

* Change the rest of LogAttrs to default

* Fix bad log

* Update badger.go

Changing "data" to "key" or "id" here might be more appropriate.

* Update badger.go

Changing "data" to "key" or "id" here might be more appropriate.

* Update server.go

Not checking if err is equal to nil

* Update server.go

printing information for ID or error is missing.

* Change references of err.Error() to err in slog

* Remove missed removal of Error() references for logging

---------

Co-authored-by: Derek Duncan <dduncan@atlassian.com>
Co-authored-by: Derek Duncan <derekduncan@gmail.com>
Co-authored-by: JB <28275108+mochi-co@users.noreply.github.com>
Co-authored-by: werbenhu <werben@qq.com>
2023-09-06 15:21:04 +01:00
JB
ae3f72f677 migrate imports, copyrights, etc (#270) 2023-07-31 13:26:26 +01:00
mochi-co
8a04648c09 Cleanup godoc formatting 2022-12-11 21:38:01 +00:00
mochi-co
898c90d4ca Rewrite everything from scratch for mqtt v5 2022-12-10 21:49:32 +00:00
Mochi
fec72b03fc Rebuilding 2019-11-23 20:01:40 +00:00
Mochi
c3af69f714 Move Parser, cleanup to basic 2019-10-09 08:30:57 +01:00
Mochi
e9c6915e00 Cleanup, Tests fix, Client closers 2019-10-08 10:55:08 +01:00
Mochi
3917be82b8 Testing example 2019-10-07 22:00:33 +01:00
Mochi
ee9ee07e21 Auth Controllers and listener options 2019-09-27 22:48:37 +01:00
Mochi
3eff111900 Refactor Listener into Listen() 2019-09-27 12:28:54 +01:00
Mochi
f919818628 Adds Mock net.Conn, errors for establisher 2019-09-26 17:55:43 +01:00
Mochi
644a445e49 Refactor listeners for performance 2019-09-25 23:26:31 +01:00
Mochi
dc99966cdd Reworking listeners 2019-09-25 21:20:09 +01:00