Use "sp: " as prefix for debug logs (nicer/shorter).
This commit is contained in:
parent
c3e0509275
commit
dd7742fb15
|
@ -1914,7 +1914,7 @@ void sp_default_debug_handler(const char *format, ...)
|
|||
va_list args;
|
||||
va_start(args, format);
|
||||
if (getenv("LIBSERIALPORT_DEBUG")) {
|
||||
fputs("libserialport: ", stderr);
|
||||
fputs("sp: ", stderr);
|
||||
vfprintf(stderr, format, args);
|
||||
}
|
||||
va_end(args);
|
||||
|
|
Loading…
Reference in New Issue