Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/console.cc')
-rw-r--r--src/server/console.cc27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/server/console.cc b/src/server/console.cc
new file mode 100644
index 0000000..40b752d
--- /dev/null
+++ b/src/server/console.cc
@@ -0,0 +1,27 @@
+/*
+ server/console.cc
+ This file is part of the Osirion project and is distributed under
+ the terms and conditions of the GNU General Public License version 2
+*/
+
+#include "console.h"
+#include <iostream>
+
+namespace server {
+std::ostream & Console::message()
+{
+ return std::cout;
+}
+
+std::ostream & Console::warning()
+{
+ return std::cerr;
+}
+
+std::ostream & Console::debug()
+{
+ return std::cout;
+}
+
+} // namespace server
+