CLASS Program

  • Namespace: SuCoS
  • Source File: Program.cs

The main entry point of the program.

Remarks

Constructor

Public Methods

Main

public static async Task<int> Main(string[] args)

Entry point of the program

Parameters:

  • args (string[])

Returns: Task<int>

CreateLogger

public static ILogger CreateLogger(bool verbose = false)

Create a log (normally from Serilog), depending on the verbose option

Parameters:

  • verbose (bool) (Default: false)

Returns: ILogger

OutputWelcome

public void OutputWelcome()

Print the name and version of the program.

public void OutputLogo()

Print the logo