aboutsummaryrefslogtreecommitdiff
path: root/src/tests/print.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-09-05 21:23:44 +0000
committerMike Buland <eichlan@xagasoft.com>2012-09-05 21:23:44 +0000
commit50b89841463d7724e7e20dad19da8bd61d49a06c (patch)
tree14259e9596fd741d922b881bc8e3df0d647f4281 /src/tests/print.cpp
parente62311adb3ad71a4a04521544fb12070336f17d2 (diff)
downloadlibbu++-50b89841463d7724e7e20dad19da8bd61d49a06c.tar.gz
libbu++-50b89841463d7724e7e20dad19da8bd61d49a06c.tar.bz2
libbu++-50b89841463d7724e7e20dad19da8bd61d49a06c.tar.xz
libbu++-50b89841463d7724e7e20dad19da8bd61d49a06c.zip
Bu::StdStream can be set to print to stderror now, and sio.h now declares serr
and serrRaw. Also, they are now StreamStacks, which means you can change what type of stream they read/write to, and also add filters.
Diffstat (limited to '')
-rw-r--r--src/tests/print.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/print.cpp b/src/tests/print.cpp
index 7d55554..7a2fab2 100644
--- a/src/tests/print.cpp
+++ b/src/tests/print.cpp
@@ -8,6 +8,8 @@ int main()
8 arg("totally").arg( 47.2 ); 8 arg("totally").arg( 47.2 );
9 Bu::println("This is unsubstituted?"); 9 Bu::println("This is unsubstituted?");
10 10
11 Bu::serr << "This is error text." << Bu::serr.nl;
12
11 return 0; 13 return 0;
12} 14}
13 15