aboutsummaryrefslogtreecommitdiffstats
path: root/docs/logger.md
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-04-02 20:05:27 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-04-02 20:05:27 +0100
commitc9185202fe841984f984326dfc1ab5ef5d00d6f9 (patch)
tree2c84ba1bd1728943b442a18b11c3dea9d3bc86b4 /docs/logger.md
parent52fb7104141eab51e6f5fbd54027b042ca7c1e08 (diff)
downloadYAGE-c9185202fe841984f984326dfc1ab5ef5d00d6f9.tar.gz
YAGE-c9185202fe841984f984326dfc1ab5ef5d00d6f9.zip
Adding style to css
Diffstat (limited to 'docs/logger.md')
-rw-r--r--docs/logger.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/logger.md b/docs/logger.md
index 93debac8..0d642949 100644
--- a/docs/logger.md
+++ b/docs/logger.md
@@ -22,7 +22,7 @@ First of all, there is a definition to get the instance of the current global lo
can then be used to set a different minimum display level. This definition is `yLogger`, and an
example of how to use it to change the default output level can be seen below
-``` c++
+```
yLogger.setLevel(yage::LogLevel::ERROR);
```
@@ -35,7 +35,7 @@ Other preprocessor definitions are `yLogDebug`, `yLogInfo`, `yLogWarning`, `yLog
global logger `yLogger`. These are the definitions that should be used to print somehting
to the main logger. For example
-``` c++
+```
yLogWarning << "This is a warning";
```