[71865404] Abstract implementation for AbstractAppStateTracker to monitor console output

Adopters can extend AbstractConsoleMonitorAppStateTracker to provide the console monitor function.