fix
Some checks failed
rpcrypto-build / build (Debug, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Failing after 50s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m0s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m3s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m5s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 56s
rpcrypto-build / build (Debug, mipsel-openwrt-linux.toolchain.cmake) (push) Failing after 1m11s
linux-x64-gcc / linux-gcc (push) Failing after 47s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m22s
rpcrypto-build / build (Release, mipsel-openwrt-linux.toolchain.cmake) (push) Failing after 1m3s
rpcrypto-build / build (Release, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Failing after 1m16s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m28s
Some checks failed
rpcrypto-build / build (Debug, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Failing after 50s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m0s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m3s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m5s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 56s
rpcrypto-build / build (Debug, mipsel-openwrt-linux.toolchain.cmake) (push) Failing after 1m11s
linux-x64-gcc / linux-gcc (push) Failing after 47s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m22s
rpcrypto-build / build (Release, mipsel-openwrt-linux.toolchain.cmake) (push) Failing after 1m3s
rpcrypto-build / build (Release, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Failing after 1m16s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m28s
This commit is contained in:
parent
214aa61f31
commit
df691c16f1
@ -28,7 +28,7 @@ Logger::Log(int32_t level, const char *file, const char *func, int32_t line, con
|
||||
std::string pattern = "[{}] {}:{}@{} msg: {}";
|
||||
|
||||
// auto add CR
|
||||
bool need_append_line_break = !msg || msg[strlen(msg) - 1] != '\n';
|
||||
bool need_append_line_break = !msg || *msg == '\0' || msg[strlen(msg) - 1] != '\n';
|
||||
if (need_append_line_break) {
|
||||
pattern.append(1, '\n');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user