mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 02:34:48 +08:00
chg: info log = yellow
This commit is contained in:
parent
b723126deb
commit
cb34e554fe
1 changed files with 3 additions and 11 deletions
14
client/ui.c
14
client/ui.c
|
@ -30,16 +30,6 @@ pthread_mutex_t print_lock = PTHREAD_MUTEX_INITIALIZER;
|
|||
static const char *logfilename = "proxmark3.log";
|
||||
static void fPrintAndLog(FILE *stream, const char *fmt, ...);
|
||||
|
||||
/*
|
||||
static float complex cexpf(float complex Z) {
|
||||
float complex Res;
|
||||
double rho = exp(__real__ Z);
|
||||
__real__ Res = rho * cosf(__imag__ Z);
|
||||
__imag__ Res = rho * sinf(__imag__ Z);
|
||||
return Res;
|
||||
}
|
||||
*/
|
||||
|
||||
void PrintAndLogOptions(const char *str[][2], size_t size, size_t space) {
|
||||
char buff[2000] = "Options:\n";
|
||||
char format[2000] = "";
|
||||
|
@ -94,8 +84,10 @@ void PrintAndLogEx(logLevel_t level, const char *fmt, ...) {
|
|||
case WARNING:
|
||||
strncpy(prefix, _CYAN_("[!]"), sizeof(prefix) - 1);
|
||||
break;
|
||||
case INFO:
|
||||
strncpy(prefix, _YELLOW_("[=]"), sizeof(prefix) - 1);
|
||||
break;
|
||||
case NORMAL:
|
||||
case INFO:
|
||||
strncpy(prefix, prefixes[level], sizeof(prefix) - 1);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue