Android Question What replaces log() ?

MitchBu

Active Member
Licensed User
I searched the forum to no avail. Last time I worked with B4A it was 6.x and I used log() to send messages to the message pane.

I try to run older code in the IDE, and I am told it is deprecated. Anything replaces it ?

Thank you in advance.
 

Computersmith64

Well-Known Member
Licensed User
Log() isn't deprecated. Are you sure the warning isn't referring to something else?

- Colin.
 

MitchBu

Active Member
Licensed User
You are right. Log itself does not seem to be deprecated. I was confused by this message :

---

B4A Version: 9.01.2
Java Version: 8
Parsing code. (0.00s)
Building folders structure. (0.03s)
Compiling code. (0.01s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Generating R file. (0.00s)
Compiling generated Java code. (0.57s)
Convert byte code - optimized dex. (0.24s)
Packaging files. (0.13s)
Copying libraries resources (0.00s)
Signing package file (debug key). (0.37s)
ZipAlign file. (0.02s)
Installing file to device. (0.03s)
Installing with B4A-Bridge.
*** Legacy debugger is deprecated. ***
It is recommended to switch to the default debugger (Tools - IDE Options).
Completed successfully.
 
Top