Log.e capabilities/functonality desired

13 views
Skip to first unread message

shop.servic...@gmail.com

unread,
Dec 20, 2018, 2:40:57 PM12/20/18
to CodenameOne Discussions
If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
Desktop OS Windows 10
Simulator Latest
Device IOS 12.+ , Android 7

I want to be able to access / open for read the File used when Log.e(Throwable) is called.

The getLogContent is what I am looking for however is deprecated and returns empty string.
Can I dictate where the Log file is to exist on my app Instance?
It seems createWriter() is for that purpose, however this method is not exposed.


I don't want to use sendLog() as I want to look at this files contents in my App.

Please advise my options.

Thanks.

Shai Almog

unread,
Dec 20, 2018, 11:37:58 PM12/20/18
to CodenameOne Discussions
We don't have a system to extract the stack trace to a stream at this time.

Dave Dyer

unread,
Dec 21, 2018, 2:54:27 AM12/21/18
to CodenameOne Discussions
I have posted code to capture stack traces several times on this forum. I don't have a thread I'd handy but it shouldn't be hard to find.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages