class EL_MODULE_LOG_MANAGER

(source code)

Client examples: REPOSITORY_PUBLISHER

description

Shared access to routines of class EL_LOG_MANAGER

descendants

EL_LOG_MANAGER
    EL_IMMUTABLE_STRING_TABLE* [GENERAL -> STRING_GENERAL create make end, IMMUTABLE ->EL_CRC_32_LOG_MANAGER
note
	description: "Shared access to routines of class ${EL_LOG_MANAGER}"
	descendants: "[
			EL_LOG_MANAGER
				${EL_CRC_32_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-01-20 19:18:26 GMT (Saturday 20th January 2024)"
	revision: "13"

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