Skip to content
  • Shawn Webb's avatar
    Implement SQLite3-based logging · a650f379
    Shawn Webb authored
    
    
    The name of the table is passed in to the logger's init function.
    
    The SQLite3 logger will create the following table if it doesn't already
    exist:
    
    CREATE TABLE IF NOT EXISTS <table> (
    	timesec BIGINT NOT NULL,
    	timeusec BIGINT NOT NULL,
    	msgtype TEXT NOT NULL,
    	msg TEXT NOT NULL
    )
    
    Of course, replace `<table>` with the name of the table.
    
    Signed-off-by: default avatarShawn Webb <shawn.webb@hardenedbsd.org>
    a650f379