Feature/logger (#147)

* todos

* New logger

* Remove roku-log
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2023-09-19 17:49:48 -04:00
1 parent cf6d89f44f
commit 190dcdffe3
37 files changed
+417 -291

No files matched your search

@@ -95,7 +95,7 @@ namespace SponsorBlock
if not output.success
error = ErrorUtils.Format(output.error)
m.log.error(error)
LogError(error)
return
end if
@@ -136,7 +136,7 @@ namespace SponsorBlock
if action = "AutoSkip"
m.top.seek = segmentEnd
m.log.info("Skipping section:", segment["category"])
LogInfo("Skipping section:", segment["category"])
SendSkippedSectionEvent(segment.UUID)
return
end if