def test_get_log_path_for(self): # given expected_result = f'D:\GitHub\denva\src\configs\dev_log_app_config.json' # when result = config_service.get_log_path_for('dev_app') # then self.assertEqual(result, expected_result) # debug print(result)
def get_log_ui(number: int): return commands.get_lines_from_path( config_service.get_log_path_for('log_ui'), number)
def get_log_count_for(log_type: str): return log_metrics_service.get_current_log_metrics_for( config_service.get_log_path_for(f'log_{log_type}'))