Logcat like portable trace library.