I'm in a strange issue. I started working on an already developed app. During normal development I added some logs as I normally would, but I can't see them in logcat
code is nothing special:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_homepage);
Log.v("MYDEV", "oncreate");
presenter.start();
}
So I can see all other logs from the app but the one from my line. Debugger stops on the line, so it is executed. It happens in various places, not just this one. I tried restarting both Android Studio, logcat and phone, uninstalling the app etc... nothing works.
Any idea?
EDIT: tried System.out.println()
and it's working. Will use this for now, but it's not the same thing
EDIT2: as discovered later and suggest by the answers, my Huawey P10 does not enable debug and verbose logs level by default, logs works from info level and above. verbose logs can be enabled from developer options, but there's no option for debug level