|
a/libupnpp/log.cxx |
|
b/libupnpp/log.cxx |
|
... |
|
... |
12 |
* You should have received a copy of the GNU General Public License
|
12 |
* You should have received a copy of the GNU General Public License
|
13 |
* along with this program; if not, write to the
|
13 |
* along with this program; if not, write to the
|
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#include "config.h"
|
17 |
//#include "config.h"
|
18 |
|
|
|
19 |
#include <errno.h>
|
|
|
20 |
|
18 |
|
21 |
#include "log.hxx"
|
19 |
#include "log.hxx"
|
|
|
20 |
|
|
|
21 |
#include <errno.h> // for errno
|
|
|
22 |
|
|
|
23 |
#include <fstream> // for operator<<, basic_ostream, etc
|
22 |
|
24 |
|
23 |
using namespace std;
|
25 |
using namespace std;
|
24 |
|
26 |
|
25 |
namespace UPnPP {
|
27 |
namespace UPnPP {
|
26 |
|
28 |
|
|
... |
|
... |
47 |
theLog = new Logger(fn);
|
49 |
theLog = new Logger(fn);
|
48 |
return theLog;
|
50 |
return theLog;
|
49 |
}
|
51 |
}
|
50 |
|
52 |
|
51 |
}
|
53 |
}
|
52 |
|
|
|