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
60af68bb
Commit
60af68bb
authored
Nov 15, 2014
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rm dead code
License: MIT Signed-off-by:
Brian Tiger Chow
<
brian@perfmode.com
>
parent
a84ddcf9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
util/elog/log.go
util/elog/log.go
+0
-16
No files found.
util/elog/log.go
View file @
60af68bb
...
...
@@ -6,12 +6,6 @@ import (
"github.com/jbenet/go-ipfs/util"
)
var
eloggers
=
map
[
string
]
*
logging
.
Logger
{}
func
init
()
{
SetupLogging
()
}
// EventLogger extends the StandardLogger interface to allow for log items
// containing structured metadata
type
EventLogger
interface
{
...
...
@@ -79,13 +73,3 @@ func (el *eventLogger) Event(ctx context.Context, event string, metadata ...Logg
}
el
.
Logger
.
Info
(
str
)
}
// SetupLogging will initialize the logger backend and set the flags.
func
SetupLogging
()
{
// fmt := logging.DefaultFormatter
// f, err := os.Create("events.ipfslog")
// if err != nil {
// panic("failed to open file for event logger")
// }
}
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