diff --git a/user_guide_src/source/general/logging.rst b/user_guide_src/source/general/logging.rst index 6b338c54ee99..aa3e4d7b9f8d 100644 --- a/user_guide_src/source/general/logging.rst +++ b/user_guide_src/source/general/logging.rst @@ -152,11 +152,3 @@ like Composer. Next, you should modify ``/app/Config/Services.php`` to point the alias to your new class name. Now, any call that is done through the ``log_message()`` function will use your library instead. - -LoggerAware Trait -================= - -If you would like to implement your libraries in a framework-agnostic method, you can use -the ``CodeIgniter\Log\LoggerAwareTrait`` which implements the ``setLogger()`` method for you. -Then, when you use your library under different environments for frameworks, your library should -still be able to log as it would expect, as long as it can find a PSR3 compatible logger.