summaryrefslogtreecommitdiff
path: root/dist/log_data.py
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2011-03-16 13:36:15 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2011-03-16 13:36:15 +1100
commit9a051e0575b79184c224d5676453ea8f7aa2774e (patch)
treef554936102af9c8a70bfa7d64c4eec99d7d1b687 /dist/log_data.py
parent9c4f34d8eebdad3ecca84cfb4fcb6da913a9385b (diff)
downloadmongo-9a051e0575b79184c224d5676453ea8f7aa2774e.tar.gz
Add the beginnings of a log manager.
--HG-- rename : src/utilities/util_dump.c => src/utilities/util_printlog.c
Diffstat (limited to 'dist/log_data.py')
-rw-r--r--dist/log_data.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/dist/log_data.py b/dist/log_data.py
new file mode 100644
index 00000000000..1e274e48991
--- /dev/null
+++ b/dist/log_data.py
@@ -0,0 +1,10 @@
+# Data for config.py, describes all configuration key / value pairs
+
+class LogRecordType:
+ def __init__(self, name, fields):
+ self.name = name
+ self.fields = fields
+
+types = [
+ LogRecordType('debug', [('string', 'message')])
+]