Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Classes.System

Lucius Lamparter edited this page Mar 9, 2023 · 1 revision

🔧 System


The System class contains basic System functionality (e.g. calculation, logging, etc.)

⌨️ System.Console

The System.Console module contains variables and functions to-do with logging. You can call System.Console.WriteLine(YourLog) to print a new line of custom log. For more well-sorted and standard logging, use System.Console.Advanced.WriteLine("Information", System.Chronology.Time(), YourLog). System.Console.Enabled is a boolean value that is partially immutable and will return the current state of the logger - enabled/disabled (true/false). To enable/disable the logger, use System.Console.Enable() or System.Console.Disable().

⏱️ System.Chronology

The System.Chronology module contains functions to-do with the time and date. You can call System.Chronology.Time({Local/UCT}) to get the time (24 hr) in a specific time zone. If you input nothing, a time zone will be set to UCT. You can also use System.Chronology.Date(TimeZone) (always Gregorian), System.Chronology.TimeStamp(TimeZone) or System.Chronology.TimeSinceEpoch() (this is system-calculated) appropriately for your use case.

📖 Documentation


no subdirectories

System

Foundation


Riverside

Clone this wiki locally