logger object
This method will reset the data that has been accumulated internally for the log.
void reset()
Parameters:
None.
Return value:
None.
Remarks:
This operation is irreversible.
Example:

    //Add some text to the log, reset it, then add some more.

    #include "logger.bgt"

    logger test;

    void main()
    {
    test.add_entry("text1");
    test.add_entry("text2");
    test.add_entry("text3");
    test.reset();
    test.add_entry("text4");
    test.add_entry("text5");
    test.add_entry("text6");
    test.add_entry("text7");
    test.write("test.log", true);
    }