diff options
author | Determinant <[email protected]> | 2018-11-21 13:04:14 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2018-11-21 13:04:14 -0500 |
commit | 603ceda21e85d8568ec6197db9bc9293dda3b483 (patch) | |
tree | d926d57bfcfd38ca2764759e8c495073169b387f /include/hotstuff/util.h | |
parent | 89165b6ab0c365eb23cb17bc56a788c7dddc1867 (diff) |
upgrade salticidae
Diffstat (limited to 'include/hotstuff/util.h')
-rw-r--r-- | include/hotstuff/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hotstuff/util.h b/include/hotstuff/util.h index 25dda70..efec4be 100644 --- a/include/hotstuff/util.h +++ b/include/hotstuff/util.h @@ -13,7 +13,7 @@ class Logger: public salticidae::Logger { void proto(const char *fmt, ...) { va_list ap; va_start(ap, fmt); - write("proto", fmt, ap); + write("proto", is_tty() ? salticidae::TTY_COLOR_MAGENTA : nullptr, fmt, ap); va_end(ap); } }; |