Add python logging to browser and plugin

This commit is contained in:
TrainDoctor
2023-01-29 14:38:45 -08:00
parent 2e53fb217a
commit 994da868af
3 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ class PluginWrapper:
async def _unload(self):
try:
self.log.info("Attempting to unload with plugin " + self.name + "'s \"_unload function/\"" + "\n")
self.log.info("Attempting to unload with plugin " + self.name + "'s \"_unload\" function.\n")
if hasattr(self.Plugin, "_unload"):
await self.Plugin._unload(self.Plugin)
self.log.info("Unloaded " + self.name + "\n")