< prev index next >
src/share/vm/logging/logTag.cpp
Print this page
rev 8933 : 8046148.01
*** 31,41 ****
LOG_TAG_LIST
#undef LOG_TAG
};
LogTagType LogTag::from_string(const char* str) {
! for (uint i = 0; i < Count; i++) {
if (strcasecmp(str, _name[i]) == 0) {
return static_cast<LogTagType>(i);
}
}
return __NO_TAG;
--- 31,41 ----
LOG_TAG_LIST
#undef LOG_TAG
};
LogTagType LogTag::from_string(const char* str) {
! for (uint i = 0; i < LogTag::Count; i++) {
if (strcasecmp(str, _name[i]) == 0) {
return static_cast<LogTagType>(i);
}
}
return __NO_TAG;
< prev index next >