### Log entry using BA LogError

The BA Class, as defined in jCore offers helpful methods for logging.
Write an error to the log - will be shown as red text
Handy to highlight a specific item in the log.
Dim joBA As JavaObject
joBA.InitializeStatic("anywheresoftware.b4a.BA")
joBA.RunMethod("LogError", Array("Test Error"))
Output
Test Error
(in red text in the B4J IDE Logs)
Above as Sub
'Write an error to the log - will be shown as red text.
'Parameter: String to Log
`Sub LogError(s As String)
Dim joBA As JavaObject
joBA.InitializeStatic("anywheresoftware.b4a.BA")
joBA.RunMethod("LogError", Array(s))
End Sub`

Changed: , Category: Application, File: T6C159M1173.htm, ID: 1173