示例#1
0
        private void BtnCustomNormalEvent_Click(object sender, System.EventArgs e)
        {
            CustomTrace customTrace = APMS.Instance.CreateCustomTrace("testCustomTrace");

            customTrace.Start();
            // code you want trace
            BusinessLogicStart(customTrace);
            BusinessLogicEnd(customTrace);
            customTrace.Stop();
        }