Android Question [B4X] capture Log() output

Alessandro71

Well-Known Member
Licensed User
Longtime User
Is there a cross-platform way to capture Log() statements so they can be redirected to a text log file?
 

Alessandro71

Well-Known Member
Licensed User
Longtime User
An easy way I have used is to replace all Log() statements with myLog() and then do what you need to do in myLog()
That's what I do also, but it's not ideal for sharing code with other projects that do not use custom logging: if the native Log() statement could be redefined, it would simply fallback to system logging
 
Upvote 0
Top