Source code for juham.database.jconsole
from juham.base.jdatabase import JDatabase
[docs]
class JConsole(JDatabase):
"""Database interface that simply dumps the written records to stdout
solely for testing and debugging purposes."""
_class_id = None
def __init__(self, name="jconsole"):
super().__init__(name)
[docs]
@classmethod
def register(cls):
if cls._class_id is None:
JDatabase.register()
cls.initialize_class()