B4J Question [B4X] Change color of log entry

GMan

Well-Known Member
Licensed User
Longtime User
With this code:

B4X:
Sub LogR(s As String)
    Dim joBA As JavaObject
    joBA.InitializeStatic("java.lang.System")
    Dim joBAF As JavaObject = joBA.GetFieldJO("err")
    joBAF.RunMethod("println", Array(s))
End Sub
we can make a log entry in red color (B4J at least)

Is it possible to change the color individually or, at least, in a small range (red,green,orange i.e.)
 

Cableguy

Expert
Licensed User
Longtime User
You can log any statement you want in red using "LogError("your text here").

It is still not possible to log in other colors
 
Upvote 0

GMan

Well-Known Member
Licensed User
Longtime User
OK.
I mentioned there is something possible with the ....("err")
Maybe ("ok") for green or ("tip") in orange
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
This has been asked before, and the issue lies in the way the debugger for b4j handles the logging.
 
Upvote 0

GMan

Well-Known Member
Licensed User
Longtime User
Well done, but not that what we meant - we want to have the coloured entrys in the IDE Log
 
Upvote 0
Top