Exemple #1
0
        static void MiscellaneousSample()
        {
            ReflectInsight ri = RILogManager.Get("Miscellaneous");

            using (ri.TraceMethod("Starting Miscellaneous thread block"))
            {
                ri.SendThreadInformation();
                Thread.Sleep(500);

                ri.SendImage("Hello, World", String.Format(@"{0}Samples\earth.jpg", AppDomain.CurrentDomain.BaseDirectory));
                ri.SendStream("Some Stream", String.Format(@"{0}Samples\Earth.jpg", AppDomain.CurrentDomain.BaseDirectory));
                ri.SendCustomData("Sample Custom Data", GetCustomData1());
                ri.SendColor("Some Color", Color.Aquamarine);
            }
        }