summaryrefslogtreecommitdiff
path: root/slips/src/app/Marina/Infrastructure/Logging/Interfaces/Log.cs
blob: c8dae7693aa2586694943ec7a3445ec47aafeb79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using Marina.Infrastructure.Container;

namespace Marina.Infrastructure.Logging.Interfaces {
	public class Log {
		public static ILog For( object itemThatRequiresLoggingServices ) {
			return For( itemThatRequiresLoggingServices.GetType( ) );
		}

		public static ILog For( Type type ) {
			return Resolve.DependencyFor< ILogFactory >( ).CreateFor( type );
		}
	}
}