Working auth and photo json endpoint
Signed-off-by: Kris Nóva <kris@nivenly.com>
This commit is contained in:
parent
ef275f97f4
commit
e4323b6047
2032 changed files with 821464 additions and 52 deletions
36
vendor/github.com/dsoprea/go-logging/console_adapter.go
generated
vendored
Normal file
36
vendor/github.com/dsoprea/go-logging/console_adapter.go
generated
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
package log
|
||||
|
||||
import (
|
||||
golog "log"
|
||||
)
|
||||
|
||||
type ConsoleLogAdapter struct {
|
||||
}
|
||||
|
||||
func NewConsoleLogAdapter() LogAdapter {
|
||||
return new(ConsoleLogAdapter)
|
||||
}
|
||||
|
||||
func (cla *ConsoleLogAdapter) Debugf(lc *LogContext, message *string) error {
|
||||
golog.Println(*message)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (cla *ConsoleLogAdapter) Infof(lc *LogContext, message *string) error {
|
||||
golog.Println(*message)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (cla *ConsoleLogAdapter) Warningf(lc *LogContext, message *string) error {
|
||||
golog.Println(*message)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (cla *ConsoleLogAdapter) Errorf(lc *LogContext, message *string) error {
|
||||
golog.Println(*message)
|
||||
|
||||
return nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue