summaryrefslogtreecommitdiffstats
path: root/src/fbgui/qlog4cxx.h
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-12-03 13:31:09 +0100
committerSebastian Schmelzer2011-12-03 13:31:09 +0100
commit1b48532c662470f5dd4090d47e1e2c333e967caf (patch)
tree8c23d3eca5fa088b91887d528138b9e0462382fb /src/fbgui/qlog4cxx.h
parentlet cmake find qxt (diff)
downloadfbgui-1b48532c662470f5dd4090d47e1e2c333e967caf.tar.gz
fbgui-1b48532c662470f5dd4090d47e1e2c333e967caf.tar.xz
fbgui-1b48532c662470f5dd4090d47e1e2c333e967caf.zip
codeformating, change to log4cxx
Diffstat (limited to 'src/fbgui/qlog4cxx.h')
-rw-r--r--src/fbgui/qlog4cxx.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/fbgui/qlog4cxx.h b/src/fbgui/qlog4cxx.h
new file mode 100644
index 0000000..d2f73a4
--- /dev/null
+++ b/src/fbgui/qlog4cxx.h
@@ -0,0 +1,25 @@
+/*
+ * qlog4cxx.h
+ *
+ * Created on: Dec 3, 2011
+ * Author: ssc
+ */
+
+#ifndef QLOG4CXX_H_
+#define QLOG4CXX_H_
+
+namespace std
+{
+ inline ostream& operator<<(ostream& os, const QString& a)
+ {
+ return os << a.toStdString();
+ }
+
+ inline ostream& operator<<(ostream& os, const QByteArray& a)
+ {
+ return os << a.constData();
+ }
+
+}
+
+#endif /* QLOG4CXX_H_ */