Commit 09b51798 authored by Davis King's avatar Davis King

clarified spec

parent 67448f72
...@@ -59,7 +59,7 @@ namespace dlib ...@@ -59,7 +59,7 @@ namespace dlib
); );
/*! /*!
ensures ensures
- for all loggers L: - for all loggers L (even loggers not yet constructed):
- #L.output_streambuf() == out.rdbuf() - #L.output_streambuf() == out.rdbuf()
- Removes any previous output hook from L. So now the logger - Removes any previous output hook from L. So now the logger
L will write all its messages to the given output stream. L will write all its messages to the given output stream.
...@@ -81,7 +81,7 @@ namespace dlib ...@@ -81,7 +81,7 @@ namespace dlib
); );
/*! /*!
ensures ensures
- for all loggers L: - for all loggers L (even loggers not yet constructed):
- #L.output_streambuf() == 0 - #L.output_streambuf() == 0
- performs the equivalent to calling L.set_output_hook(object, hook); - performs the equivalent to calling L.set_output_hook(object, hook);
(i.e. sets all loggers so that they will use the given hook function) (i.e. sets all loggers so that they will use the given hook function)
...@@ -96,7 +96,7 @@ namespace dlib ...@@ -96,7 +96,7 @@ namespace dlib
); );
/*! /*!
ensures ensures
- for all loggers L: - for all loggers L (even loggers not yet constructed):
- #L.level() == new_level - #L.level() == new_level
throws throws
- std::bad_alloc - std::bad_alloc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment