Esempio n. 1
0
        static void Main( string[] args )
        {
            BatchSenderThreadTest t = new BatchSenderThreadTest( SafeLogger.FromLogger( TestLogger.Instance ) );
            t.Run( );

            // wait for logging tasks to complete
            Console.WriteLine( "Test completed, press enter to exit" );
            Console.ReadLine( );
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            BatchSenderThreadTest t = new BatchSenderThreadTest(SafeLogger.FromLogger(TestLogger.Instance));

            t.Run( );

            // wait for logging tasks to complete
            Console.WriteLine("Test completed, press enter to exit");
            Console.ReadLine( );
        }