mirror of
https://github.com/pushbits/server.git
synced 2025-06-19 19:12:03 +02:00
Use logrus for logging
This commit is contained in:
parent
c96baf40a5
commit
f839f248b9
19 changed files with 192 additions and 87 deletions
|
@ -1,9 +1,8 @@
|
|||
package credentials
|
||||
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/pushbits/server/internal/configuration"
|
||||
"github.com/pushbits/server/internal/log"
|
||||
|
||||
"github.com/alexedwards/argon2id"
|
||||
)
|
||||
|
@ -16,7 +15,7 @@ type Manager struct {
|
|||
|
||||
// CreateManager instanciates a credential manager.
|
||||
func CreateManager(checkHIBP bool, c configuration.CryptoConfig) *Manager {
|
||||
log.Println("Setting up credential manager.")
|
||||
log.L.Println("Setting up credential manager.")
|
||||
|
||||
argon2Params := &argon2id.Params{
|
||||
Memory: c.Argon2.Memory,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue