Permalink
Browse files

CODE_STYLE.md: Log* can take UString args directly

  • Loading branch information...
JonnyH committed May 16, 2017
1 parent e401d71 commit 4f5689c740831a359a3a38447a41369a1d25ab43
Showing with 1 addition and 1 deletion.
  1. +1 −1 CODE_STYLE.md
View
@@ -490,7 +490,7 @@ end:
Logging:
--------
* LogInfo/LogWarning/LogError take 'printf-style' format string. Make sure everything is the correct type, %d for ints, %u for unsigned, %s for "utf8" const char* strings (as returned by UString.c_str())
* LogInfo/LogWarning/LogError take 'printf-style' format string. Make sure everything is the correct type, %d for ints, %u for unsigned, %s for "utf8" const char* "strings" or UString objects directly
* LogInfo is cheap - use it everywhere interesting
* LogWarning should be something that has gone wrong, but recoverable.
* LogError is for fatal errors.

0 comments on commit 4f5689c

Please sign in to comment.