Class Program
java.lang.Object
com.jackmeng.halcyoninae.halcyon.runtime.Program
Provides a concurrent logging system for the program
instead of using Debugger, which is meant for debugging during
initial development.
- Since:
- 3.1
- Author:
- Jack Meng
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
createDump
(Object... content) Writes a dump file to the bin folder.static File[]
static PhysicalFolder[]
static void
static void
localize()
Localization Methodstatic void
This main function runs the daemon for system loggingprivate static void
Different from Debugger's log method, this method is meant for printing out messages to the console, however can only print out a string.
-
Field Details
-
cacher
-
executorService
-
-
Constructor Details
-
Program
public Program()
-
-
Method Details
-
println
Different from Debugger's log method, this method is meant for printing out messages to the console, however can only print out a string.Asynchronous println t the console.
- Parameters:
e
- A string
-
createDump
Writes a dump file to the bin folder.This is not a serialization byte stream!!!
This method is typically used for debugging and coverage telemetry stuffs (idk :/).
- Parameters:
content
- The Objects to dump or content.
-
forceSaveUserConf
public static void forceSaveUserConf() -
fetchLikedTracks
- Returns:
- File[] Returns all of the liked tracks.
-
fetchSavedPlayLists
- Returns:
- FolderInfo[] Returns all concurrently stored playlists in the running instance.
-
main
This main function runs the daemon for system loggingThis is provided under an executor service that runs async to the main thread in order to log everything made by the the program.
This async mechanism is called natively.
- Parameters:
args
- Initial items to log
-
localize
public static void localize()Localization Method
-