Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork0
Classes.System
The System class contains basic System functionality (e.g. calculation, logging, etc.)
TheSystem.Console
module contains variables and functions to-do with logging.You can callSystem.Console.WriteLine(YourLog)
to print a new line of custom log. For more well-sorted and standard logging, useSystem.Console.Advanced.WriteLine("Information", System.Chronology.Time(), YourLog)
.System.Console.Enabled
is a boolean value that ispartially immutable and will return the current state of the logger - enabled/disabled (true/false). To enable/disable the logger, useSystem.Console.Enable()
orSystem.Console.Disable()
.
TheSystem.Chronology
module contains functions to-do with the time and date.You can callSystem.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 toUCT.You can also useSystem.Chronology.Date(TimeZone)
(always Gregorian),System.Chronology.TimeStamp(TimeZone)
orSystem.Chronology.TimeSinceEpoch()
(this is system-calculated) appropriately for your use case.
Still looking for more? Give us a message by creating a feature request on theIssues tab.