Skip to content

Commit

Permalink
change all logs to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekatica committed Apr 23, 2024
1 parent 099bd13 commit fe0fa59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions subtitleparser/subtitle_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,21 +115,21 @@ func (p *SubtitleTrackHandler) HandleInteger(id mkvparse.ElementID, value int64,
}

func (p *SubtitleTrackHandler) HandleFloat(id mkvparse.ElementID, value float64, info mkvparse.ElementInfo) error {
glog.V(4).Infof("%s- %v: %v\n", indent(info.Level), mkvparse.NameForElementID(id), value)
glog.V(10).Infof("%s- %v: %v\n", indent(info.Level), mkvparse.NameForElementID(id), value)
return nil
}

func (p *SubtitleTrackHandler) HandleDate(id mkvparse.ElementID, value time.Time, info mkvparse.ElementInfo) error {
glog.V(4).Infof("%s- %v: %v\n", indent(info.Level), mkvparse.NameForElementID(id), value)
glog.V(10).Infof("%s- %v: %v\n", indent(info.Level), mkvparse.NameForElementID(id), value)
return nil
}

func (p *SubtitleTrackHandler) HandleBinary(id mkvparse.ElementID, value []byte, info mkvparse.ElementInfo) error {
switch id {
case mkvparse.SeekIDElement:
glog.V(4).Infof("%s- %v: %x\n", indent(info.Level), mkvparse.NameForElementID(id), value)
glog.V(10).Infof("%s- %v: %x\n", indent(info.Level), mkvparse.NameForElementID(id), value)
default:
glog.V(4).Infof("%s- %v: <binary> (%d)\n", indent(info.Level), mkvparse.NameForElementID(id), info.Size)
glog.V(10).Infof("%s- %v: <binary> (%d)\n", indent(info.Level), mkvparse.NameForElementID(id), info.Size)
}
return nil
}
Expand Down

0 comments on commit fe0fa59

Please sign in to comment.