简体   繁体   中英

Custom android plug-in, how to print log in android stuido

Custom android plug-in, how to print log in android stuido

now i used System and Logger To no avail ,I want see the log in android stuido Event log view

System.out.println("Systemout:" + log);

Logger.getInstance("Logger").debug(log);

I do not know what you mean by custom android plug-in, but to see the log events you can use

Log.d("tag","message");

This can be then read in the logcat under debug.

If it is just to see the output in a console, you may want to use Log. This should be visible in logcat tab.

Log.d("tagName", "Message to be logged");

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM