mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[docs] Fix Doxygen warnings, add CI docs lint job (#3639)
The CI docs lint build is configured to fail on Doxygen warnings.
This commit is contained in:
@@ -1059,18 +1059,18 @@ const char* LoadEntries(
|
||||
|
||||
NT_Logger AddLogger(NT_Inst inst,
|
||||
std::function<void(const LogMessage& msg)> func,
|
||||
unsigned int min_level, unsigned int max_level) {
|
||||
unsigned int minLevel, unsigned int maxLevel) {
|
||||
int i = Handle{inst}.GetTypedInst(Handle::kInstance);
|
||||
auto ii = InstanceImpl::Get(i);
|
||||
if (!ii) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (min_level < ii->logger.min_level()) {
|
||||
ii->logger.set_min_level(min_level);
|
||||
if (minLevel < ii->logger.min_level()) {
|
||||
ii->logger.set_min_level(minLevel);
|
||||
}
|
||||
|
||||
return Handle(i, ii->logger_impl.Add(func, min_level, max_level),
|
||||
return Handle(i, ii->logger_impl.Add(func, minLevel, maxLevel),
|
||||
Handle::kLogger);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user