Package src
Class Logger
java.lang.Object
src.Logger
- All Implemented Interfaces:
FileUsage
The Files class provides methods to create a text file and write content to it.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
fileName
The name of the file (without extension).
-
-
Method Details
-
getInstance
Allow other classes to access the static object -
setUp
Creates a new text file with the specified name. If the file already exists, it notifies the user. -
Use
Writes the provided input to the file. Appends the text to the file if it already exists.
-