Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
c6a84884
Commit
c6a84884
authored
Nov 16, 2014
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
todo(eventlog)
License: MIT Signed-off-by:
Brian Tiger Chow
<
brian@perfmode.com
>
parent
2134365c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
util/eventlog/log.go
util/eventlog/log.go
+4
-0
No files found.
util/eventlog/log.go
View file @
c6a84884
...
@@ -53,6 +53,10 @@ type StandardLogger interface {
...
@@ -53,6 +53,10 @@ type StandardLogger interface {
// Logger retrieves an event logger by name
// Logger retrieves an event logger by name
func
Logger
(
system
string
)
EventLogger
{
func
Logger
(
system
string
)
EventLogger
{
// TODO if we would like to adjust log levels at run-time. Store this event
// logger in a map (just like the util.Logger impl)
return
&
eventLogger
{
system
:
system
,
Logger
:
util
.
Logger
(
system
)}
return
&
eventLogger
{
system
:
system
,
Logger
:
util
.
Logger
(
system
)}
}
}
...
...
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