stat and get added
[gp-arc-client-c.git] / src / arcclientc.cpp
1 /*
2  *  arcclientc.cpp
3  *  arcclientc
4  *
5  *  Created by Tamas Jung on 4/7/10.
6  *  Copyright 2010 Interface Kft. All rights reserved.
7  *
8  */
9
10 #include <iostream>
11 #include "arcclientc.h"
12 #include "logger.h"
13 #include "arc_libs.h"
14 #include "common_utils.h"
15
16
17
18 char* initialize(){
19         
20         setlocale(LC_ALL, "");//TBD: do we need this?
21                 
22         
23         static Arc::LogStream  logcerr(std::cerr);
24         
25         logcerr.setFormat(Arc::ShortFormat);
26         Arc::Logger::getRootLogger().addDestination(logcerr);
27         Arc::Logger::getRootLogger().setThreshold(Arc::ERROR);
28         
29         
30         return new_str(ARCCLIENTC_VERSION);
31 }
32
33
34