Exemple #1
0
        public virtual void Setup()
        {
            // Create the callback class
            m_callback = new MamaLogCallbackTest();

            // Install the callback as the log function
            Mama.setLogCallback(m_callback);

            // Install the callback as the log size exceeded function
            Mama.setLogSizeCb(m_callback);
        }
Exemple #2
0
 public virtual void Teardown()
 {
     // Reset member variables
     m_callback = null;
 }