/// <summary> /// Constructor used for using an existend SqliteConnection /// creates an empty List of Log /// fills properties /// creates the LocalLogger instance /// </summary> /// <param name="fip">FnLogInitPackage</param> /// <param name="con">for integration in a existing sqlite db</param> internal FnLog(FnLogInitPackage fip, SqliteConnector con) { _logs = new List <Log>(); _fnLogInitPackage = fip; fip.FileName = ""; _localLog = new LocalLogger(con); }
/// <summary> /// Constructor /// creates an empty List of Log /// fills properties /// creates the LocalLogger instance /// </summary> /// <param name="fip">FnLogInitPackage</param> internal FnLog(FnLogInitPackage fip) { _logs = new List <Log>(); _fnLogInitPackage = fip; _localLog = new LocalLogger( _fnLogInitPackage.FileName, _fnLogInitPackage.EncryptionKey); }