public Logger(IMessageCreator messageCreator, IMessagesDequeuer messagesDequeuer, ICallingStackFrameGetter callingStackFrameGetter, IContainer<Configuration.Configuration> configurationContainer) { _configurationContainer = configurationContainer; _messageCreator = messageCreator; _callingStackFrameGetter = callingStackFrameGetter; _messagesDequeuer = messagesDequeuer; }
public Logger(IMessageCreator messageCreator, IMessagesDequeuer messagesDequeuer, ICallingStackFrameGetter callingStackFrameGetter, IContainer <Configuration.Configuration> configurationContainer) { _configurationContainer = configurationContainer; _messageCreator = messageCreator; _callingStackFrameGetter = callingStackFrameGetter; _messagesDequeuer = messagesDequeuer; }
public InternalLogger( IMessageCreator messageCreator, ICallingStackFrameGetter callingStackFrameGetter, IMessageTextFormatter messageTextFormatter) { _messageCreator = messageCreator; _callingStackFrameGetter = callingStackFrameGetter; _messageTextFormatter = messageTextFormatter; _filePath = string.Format("{0}{1}{2}.{3}.log", Path.GetTempPath(), Environment.NewLine, AppDomain.CurrentDomain.FriendlyName, Process.GetCurrentProcess().Id); }