/home/elb/work/cs590n/mace/mace/lib/LogSelector.h File Reference


Detailed Description

declares LogSelector, associated with every log

Definition in file LogSelector.h.

#include <string>
#include "mhash_map.h"

Include dependency graph for LogSelector.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LogSelector
 An object describing a logging selection directive that indicates how to handle matching logs. More...

Enumerations

enum  LogSelectorTimestamp { LOG_TIMESTAMP_DISABLED, LOG_TIMESTAMP_EPOCH, LOG_TIMESTAMP_HUMAN }
 How to print the timestamp. More...
enum  LogSelectorThreadId { LOG_THREADID_DISABLED, LOG_THREADID_ENABLED }
 How to print the thread id. More...
enum  LogSelectorName { LOG_NAME_DISABLED, LOG_NAME_ENABLED }
 How to print the selector name. More...
enum  LogSelectorOutput { LOG_FPRINTF, LOG_PIP, LOG_BINARY }
 How to output the log. More...


Enumeration Type Documentation

How to print the selector name.

Enumerator:
LOG_NAME_DISABLED  don't print the log selector name
LOG_NAME_ENABLED  print the log selector name

Definition at line 55 of file LogSelector.h.

How to output the log.

Enumerator:
LOG_FPRINTF  use fprintf for text logs
LOG_PIP  use Pip's ANNOTATE_NOTICE() functionality
LOG_BINARY  use the binary log utility to print this log

Definition at line 59 of file LogSelector.h.

How to print the thread id.

Enumerator:
LOG_THREADID_DISABLED  don't print the thread id
LOG_THREADID_ENABLED  print the virtual thread id

Definition at line 51 of file LogSelector.h.

How to print the timestamp.

Enumerator:
LOG_TIMESTAMP_DISABLED  don't print the timestamp
LOG_TIMESTAMP_EPOCH  print the timestamp as seconds and microseconds since the epoch
LOG_TIMESTAMP_HUMAN  print the timestamp as a human-readable date and time

Definition at line 46 of file LogSelector.h.


Generated on Sat Oct 4 21:30:01 2008 for Mace Library by  doxygen 1.5.5