Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
name5566 committed Aug 10, 2014
1 parent 655efab commit 5be4395
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ func New(strLevel string, pathname string) (*Logger, error) {
return logger, nil
}

// multi-goroutine unsafe
// It's dangerous to call the method on logging
func (logger *Logger) Close() {
if logger.baseFile {
Expand Down Expand Up @@ -126,7 +125,6 @@ func (logger *Logger) Fatal(format string, a ...interface{}) {

var gLogger *Logger

// multi-goroutine unsafe
// It's dangerous to call the method on logging
func Export(logger *Logger) {
gLogger = logger
Expand Down

0 comments on commit 5be4395

Please sign in to comment.