public ContinuesBinaryFileLogger(IStreamProvider streamProvider, ISubmitLogEntryFactory submitLogEntryFactory, IBufferAllocatorFactory bufferAllocatorFactory)
{
m_listWriter = new ExpendableListWriter(streamProvider, OnNewfileCreated);
m_logEntry = submitLogEntryFactory.CreateSubmitLogEntry(m_listWriter);
var stringCache = submitLogEntryFactory.CreateSubmitLogEntry(m_listWriter);
var definition = submitLogEntryFactory.CreateSubmitLogEntry(m_listWriter);
m_binaryLogSerilizer = new BinaryLogSerilizer(new BinaryLogSerilizer.BufferAndSubmiterTuple(m_logEntry, bufferAllocatorFactory.CreateBufferAllocator()),
new BinaryLogSerilizer.BufferAndSubmiterTuple(stringCache, bufferAllocatorFactory.CreateBufferAllocator()),
new BinaryLogSerilizer.BufferAndSubmiterTuple(definition, bufferAllocatorFactory.CreateBufferAllocator()));
}