Bug? LogColor and double CRLF truncates long

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello,

Absolutely not critical as the workaround is to cast the long to string before to pass it to the LogColor.

B4X:
    Dim Now As Long =DateTime.Now
    Log(Now)
    LogColor(Now,Colors.Blue)
  
    Log(DateTime.Time(Now))
    LogColor(DateTime.Time(Now),Colors.Blue)
  
    LogColor(DateTime.Now & CRLF & CRLF, Colors.Red) 'truncates
    LogColor(Now & CRLF & CRLF, Colors.Red) 'truncates

Logs.png


And it is perhaps not a bug or something I surely did forget :)
 
Last edited:
Top