Fix spell typos
Change-Id: Ice2fcfa5e4e564c59e71b2fe8a9a453bbca04abc
This commit is contained in:
parent
a0f88f1c9c
commit
2057faf9e5
@ -78,6 +78,6 @@ if __name__ == '__main__':
|
||||
|
||||
LOG.info("Welcome to Oslo Logging")
|
||||
LOG.debug("A debugging message")
|
||||
LOG.warning("A warning occured")
|
||||
LOG.error("An error occured")
|
||||
LOG.exception("An Exception occured")
|
||||
LOG.warning("A warning occurred")
|
||||
LOG.error("An error occurred")
|
||||
LOG.exception("An Exception occurred")
|
||||
|
@ -95,6 +95,6 @@ if __name__ == '__main__':
|
||||
# NOTE: These examples do not demonstration Oslo i18n messages
|
||||
LOG.info("Welcome to Oslo Logging")
|
||||
LOG.debug("A debugging message")
|
||||
LOG.warning("A warning occured")
|
||||
LOG.error("An error occured")
|
||||
LOG.exception("An Exception occured")
|
||||
LOG.warning("A warning occurred")
|
||||
LOG.error("An error occurred")
|
||||
LOG.exception("An Exception occurred")
|
||||
|
@ -79,6 +79,6 @@ if __name__ == '__main__':
|
||||
|
||||
LOG.info(_LI("Welcome to Oslo Logging"))
|
||||
LOG.debug("A debugging message") # Debug messages are not translated
|
||||
LOG.warning(_LW("A warning occured"))
|
||||
LOG.error(_LE("An error occured"))
|
||||
LOG.exception(_("An Exception occured"))
|
||||
LOG.warning(_LW("A warning occurred"))
|
||||
LOG.error(_LE("An error occurred"))
|
||||
LOG.exception(_("An Exception occurred"))
|
||||
|
@ -79,9 +79,9 @@ log levels.
|
||||
.. testoutput::
|
||||
|
||||
2016-01-14 21:07:51.394 12945 INFO __main__ [-] Welcome to Oslo Logging
|
||||
2016-01-14 21:07:51.395 12945 WARNING __main__ [-] A warning occured
|
||||
2016-01-14 21:07:51.395 12945 ERROR __main__ [-] An error occured
|
||||
2016-01-14 21:07:51.396 12945 ERROR __main__ [-] An Exception occured
|
||||
2016-01-14 21:07:51.395 12945 WARNING __main__ [-] A warning occurred
|
||||
2016-01-14 21:07:51.395 12945 ERROR __main__ [-] An error occurred
|
||||
2016-01-14 21:07:51.396 12945 ERROR __main__ [-] An Exception occurred
|
||||
2016-01-14 21:07:51.396 12945 ERROR __main__ None
|
||||
2016-01-14 21:07:51.396 12945 ERROR __main__
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user