/*
 * URELogger.cc
 *
 * Copyright (C) 2016 OpenCog Foundation
 *
 * Author: Nil Geisweiller
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License v3 as
 * published by the Free Software Foundation and including the exceptions
 * at http://opencog.org/wiki/Licenses
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program; if not, write to:
 * Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

#include "URELogger.h"

using namespace opencog;

// Create and return the single instance
Logger& opencog::ure_logger()
{
	auto bc_logger_instantiate = []() {
		Logger tmp;
		tmp.set_component("URE");
		return tmp;
	};
	static Logger bc_instance(bc_logger_instantiate());
    return bc_instance;
}

/*
 * URELogger.cc
 *
 * Copyright (C) 2016 OpenCog Foundation
 *
 * Author: Nil Geisweiller
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License v3 as
 * published by the Free Software Foundation and including the exceptions
 * at http://opencog.org/wiki/Licenses
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program; if not, write to:
 * Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

#include "URELogger.h"

using namespace opencog;

// Create and return the single instance
Logger& opencog::ure_logger()
{
	auto ure_logger_instantiate = []() {
		Logger tmp;
		tmp.set_component("URE");
		return tmp;
	};
	static Logger ure_instance(ure_logger_instantiate());
    return ure_instance;
}

Rename bc_* by ure_* in ure_logger()
Rename bc_* by ure_* in ure_logger()
