advanced sample
log_level_args
is only used within advanced sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
advanced sample
log_level_args
log_level_args variable
log_level command changes log level via esp_log_level_set
Syntax
Show:
Summary
Declaration
from
cmd_system_common.c:219
static
struct
{
struct
arg_str
*
tag
;
struct
arg_str
*
level
;
struct
arg_end
*
end
;
}
log_level_args
;
Examples
References
from
examples
Code
Location
Referrer
}
log_level_args
;
cmd_system_common.c:223
int
nerrors
=
arg_parse
(
argc
,
argv
,
(
void
*
*
)
&
log_level_args
)
;
cmd_system_common.c:236
log_level()
arg_print_errors
(
stderr
,
log_level_args
.
end
,
argv
[
0
]
)
;
cmd_system_common.c:238
log_level()
assert
(
log_level_args
.
tag
->
count
==
1
)
;
cmd_system_common.c:241
log_level()
assert
(
log_level_args
.
level
->
count
==
1
)
;
cmd_system_common.c:242
log_level()
const
char
*
tag
=
log_level_args
.
tag
->
sval
[
0
]
;
cmd_system_common.c:243
log_level()
const
char
*
level_str
=
log_level_args
.
level
->
sval
[
0
]
;
cmd_system_common.c:244
log_level()
log_level_args
.
tag
=
arg_str1
(
NULL
,
NULL
,
"<tag|*>"
,
"Log tag to set the level for, or * to set for all tags"
)
;
cmd_system_common.c:268
register_log_level()
log_level_args
.
level
=
arg_str1
(
NULL
,
NULL
,
"<none|error|warn|debug|verbose>"
,
"Log level to set. Abbreviated words are accepted."
)
;
cmd_system_common.c:269
register_log_level()
log_level_args
.
end
=
arg_end
(
2
)
;
cmd_system_common.c:270
register_log_level()
.
argtable
=
&
log_level_args
cmd_system_common.c:277
register_log_level()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
log_level_args
is read by 2 functions:
All items filtered out
log_level_args
log_level()
register_log_level()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out