Package io.levysworks.beans
Class LogManager
java.lang.Object
io.levysworks.beans.LogManager
Bean used for creating new logs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCreates new log entries in the database usingDatabaseManager.addNewLog(java.lang.String, java.lang.String, java.sql.Timestamp)
Generates the current timestamp for the log entry.
-
Constructor Details
-
LogManager
public LogManager()
-
-
Method Details
-
log
Creates new log entries in the database usingDatabaseManager.addNewLog(java.lang.String, java.lang.String, java.sql.Timestamp)
Generates the current timestamp for the log entry.- Parameters:
title- Title of the log entrymessage- Message of the log entry- Throws:
SQLException- if a database access error occurs.
-