summaryrefslogtreecommitdiff
path: root/logging.cpp
blob: d426978333e21b6d1ee320de0718ad31e0780ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
// Created by joe on 9/3/15.
//

#include "logging.h"
#include "stdlib.h"
#include<iostream>
#include <fstream>

using namespace std;
void log(tres* res,int code)
{
    if (code)
    {
        ofstream fot;
        fot.open("~/.pomodori");
        fot<<1<<endl;
    }
    exit(0);
}