Add log for when gesture monitor is created

We previously added logs for the creation and deletion of gesture
monitors. After a recent bug related to gesture monitors was fixed, the
'monitor created' log got dropped. However, the 'monitor is removed' log
is still there.

Add the 'created gesture monitor' log back. If we remove this log in the
future, we should remove both of them at the same time.

Bug: 187881580
Test: adb logcat -b all | grep -i "monitor "
Test: reboot phone and observe logs with the above command

Observe:
05-19 19:46:19.825 19661 19997 I InputDispatcher: Created monitor swipe-up for display 0, gesture=true, pid=20337
05-19 19:46:19.827 19661 19765 I InputDispatcher: Erasing monitor swipe-up (server) on display 0, pid=20337
05-19 19:46:19.828 19661 19690 I InputDispatcher: Created monitor swipe-up for display 0, gesture=true, pid=20337
05-19 19:46:20.619 19661 19762 I InputDispatcher: Erasing monitor swipe-up (server) on display 0, pid=20337
05-19 19:46:20.619 19661 20406 I InputDispatcher: Created monitor swipe-up for display 0, gesture=true, pid=20337
05-19 19:46:20.679 19661 20406 I InputDispatcher: Created monitor edge-swipe for display 0, gesture=true, pid=19870
05-19 19:46:34.795 19661 19765 I InputDispatcher: Erasing monitor swipe-up (server) on display 0, pid=20337
05-19 19:46:34.865 19661 19691 I InputDispatcher: Created monitor swipe-up for display 0, gesture=true, pid=20337
05-19 19:46:34.870 19661 19765 I InputDispatcher: Erasing monitor swipe-up (server) on display 0, pid=20337
05-19 19:46:34.870 19661 19691 I InputDispatcher: Created monitor swipe-up for display 0, gesture=true, pid=20337
05-19 19:46:35.313 19661 19765 I InputDispatcher: Erasing monitor swipe-up (server) on display 0, pid=20337
05-19 19:46:35.315 19661 20979 I InputDispatcher: Created monitor swipe-up for display 0, gesture=true, pid=20337

Change-Id: I30c2387b87e03d05896d9c8d126b286aec67b74f
diff --git a/services/inputflinger/dispatcher/InputDispatcher.cpp b/services/inputflinger/dispatcher/InputDispatcher.cpp
index 485a53a..db60004 100644
--- a/services/inputflinger/dispatcher/InputDispatcher.cpp
+++ b/services/inputflinger/dispatcher/InputDispatcher.cpp
@@ -5141,6 +5141,8 @@
         monitorsByDisplay[displayId].emplace_back(serverChannel, pid);
 
         mLooper->addFd(fd, 0, ALOOPER_EVENT_INPUT, new LooperEventCallback(callback), nullptr);
+        ALOGI("Created monitor %s for display %" PRId32 ", gesture=%s, pid=%" PRId32, name.c_str(),
+              displayId, toString(isGestureMonitor), pid);
     }
 
     // Wake the looper because some connections have changed.