Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
34c7cfaf
Unverified
Commit
34c7cfaf
authored
Apr 24, 2019
by
Andy Lindeman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Round out logging interface with functions for all levels
parent
60f47c42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
logger.go
pkg/log/logger.go
+3
-0
No files found.
pkg/log/logger.go
View file @
34c7cfaf
...
...
@@ -6,10 +6,13 @@ package log
// Logger serves as an adapter interface for logger libraries
// so that dex does not depend on any of them directly.
type
Logger
interface
{
Debug
(
args
...
interface
{})
Info
(
args
...
interface
{})
Warn
(
args
...
interface
{})
Error
(
args
...
interface
{})
Debugf
(
format
string
,
args
...
interface
{})
Infof
(
format
string
,
args
...
interface
{})
Warnf
(
format
string
,
args
...
interface
{})
Errorf
(
format
string
,
args
...
interface
{})
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment