pw_console: Refactor embed free function

- Add the PwConsoleEmbed class for future customization of the embedded
  environment before actually running it.
- Set repl start and stop logs to debug level.

Testing: No UI code changes.
Change-Id: Ifd8407b6b51a046f1139ca535cb998ad0b82d3ca
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/55860
Reviewed-by: Keir Mierle <keir@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Anthony DiGirolamo <tonymd@google.com>
diff --git a/pw_console/embedding.rst b/pw_console/embedding.rst
index 5943203..bdcbc5c 100644
--- a/pw_console/embedding.rst
+++ b/pw_console/embedding.rst
@@ -6,11 +6,11 @@
 Using embed()
 -------------
 
-``pw console`` is invoked by calling the ``embed()`` function in your own
-Python script.
+``pw console`` is invoked by calling ``PwConsoleEmbed().embed()`` in your
+own Python script.
 
-.. automodule:: pw_console.console_app
-    :members: embed
+.. automodule:: pw_console.embed
+    :members: PwConsoleEmbed
     :undoc-members:
     :show-inheritance: