class EL_MODULE_LOG_MANAGER
Client examples: DATABASE_MANAGER_SHELL
Shared access to routines of class EL_LOG_MANAGER
note
description: "Shared access to routines of class ${EL_LOG_MANAGER}"
author: "Finnian Reilly"
copyright: "Copyright (c) 2001-2022 Finnian Reilly"
contact: "finnian at eiffel hyphen loop dot com"
license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
date: "2024-04-02 10:23:34 GMT (Tuesday 2nd April 2024)"
revision: "14"
deferred class
EL_MODULE_LOG_MANAGER
inherit
EL_MODULE
EL_SHARED_SINGLETONS
feature -- Contract Support
is_logged_application: BOOLEAN
do
Result := Singleton_table.has_conforming_type ({EL_LOG_MANAGER})
end
feature {NONE} -- Implementation
Log_manager: EL_LOG_MANAGER
--
once ("PROCESS")
Result := create {EL_CONFORMING_SINGLETON [EL_LOG_MANAGER]}
end
current_thread_log_file: EL_FILE_AND_CONSOLE_LOG_OUTPUT
do
Result := Log_manager.current_thread_log_file
end
end