CKato::GetVerbosityCount
This method queries the number of times a given verbosity has been logged in a given level.
INT GetVerbosityCount(
DWORD dwVerbosity,
DWORD dwLevel
);
Parameters
- dwVerbosity
Verbosity level you want to query. This value can range from zero to KATO_MAX_VERBOSITY. - dwLevel
Level in which to perform the query. You may query any level from the root level of zero down to the logger's current level. A value of -1 performs the query at the logger's current level.
Return Values
The number of times the given verbosity has been logged in the given level. If dwLevel is greater than the current logging level, the return value is 0. If an error occurs, the return value is -1.
Remarks
This method is usually called by applications that need to keep statistics about the number of times a particular verbosity is logged. Usually particular verbosity values are associated with concepts such as pass and fail. If you structure your log in this manner, you can use this method to query the number of passes and failures that have occurred within a given level.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Kato.h.
Link Library: Kato.lib.
See Also
CKato (C++) | CKato::Log | CKato::LogV
Last updated on Friday, October 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.