mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-05-08 21:29:10 -07:00
Added ability to reflect RNS logs to app-internal log handler callback
This commit is contained in:
@@ -213,6 +213,9 @@ class Reticulum:
|
||||
if logdest == RNS.LOG_FILE:
|
||||
RNS.logdest = RNS.LOG_FILE
|
||||
RNS.logfile = Reticulum.configdir+"/logfile"
|
||||
elif callable(logdest):
|
||||
RNS.logdest = RNS.LOG_CALLBACK
|
||||
RNS.logcall = logdest
|
||||
|
||||
Reticulum.configpath = Reticulum.configdir+"/config"
|
||||
Reticulum.storagepath = Reticulum.configdir+"/storage"
|
||||
|
||||
Reference in New Issue
Block a user