﻿//
// Copyright 2011 Patrik Svensson
//
// This file is part of BlackBox.
//
// BlackBox is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// BlackBox 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 Lesser Public License for more details.
//
// You should have received a copy of the GNU Lesser Public License
// along with BlackBox. If not, see <http://www.gnu.org/licenses/>.
//

using System;

namespace BlackBox
{
	/// <summary>
	/// The log kernel contract interface.
	/// </summary>
	public interface ILogKernel
	{
		/// <summary>
		/// Gets the logger for the calling type.
		/// </summary>
		/// <returns></returns>
		ILogger GetLogger();

		/// <summary>
		/// Gets the logger for the specified type.
		/// </summary>
		/// <param name="type">The type.</param>
		/// <returns></returns>
		ILogger GetLogger(Type type);
	}
}
