<< Previous | Next >> | |
|
uint32 log_map( LogFacPri lfp );
Description
- Return the log destination class and stream, for a given facility/priority code. The result is up to four destinations packed into a longword. This function merely invokes the macro
LOG_MAP()
, which may be overridden by the application, but defaults to just the filesystem.
NOTE Please see the comments at the top of log.lib
for a description of the message logging subsystem.Parameter
- lfp
- Facility/priority code. This is a single-byte code specified whenever any log message is added. Facility is coded in the 5 MSBs, and priority in the 3 LSBs.
Return Value
- Up to four destinations for a message of the specified facility and priority. Each byte in the resulting long word represents a destination/stream. A zero byte indicates no destination. If the result is all zeros, then a message of this type would be discarded.
Library
- log.lib
Dynamic C Functions | << Previous | Next >> | rabbit.com |