# class time_m::TimeLogger

Measures duration of program parts and logs times into a stream.

    #include <Time.h>

    class TimeLogger {
    public:
        // structs

        struct Measurement;

        // construction

        TimeLogger();
        TimeLogger(const TimeLogger&);
        ~TimeLogger();

        // methods

        virtual void MeasureStart(const std::string& measurement_name);
        virtual void MeasureEnd(std::ostream* output_log);
        TimeLogger& operator=(const TimeLogger&);
    };