summaryrefslogtreecommitdiff
path: root/logging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logging.cpp')
-rw-r--r--logging.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/logging.cpp b/logging.cpp
new file mode 100644
index 0000000..d426978
--- /dev/null
+++ b/logging.cpp
@@ -0,0 +1,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);
+} \ No newline at end of file