Moonshine-IDE / Super.Human.Installer

Super.Human.Installer helps you install the latest and greatest HCL Domino technologies easily.
https://superhumaninstaller.com/
Other
2 stars 0 forks source link

Core: Update Logging #58

Open Igazine opened 1 year ago

Igazine commented 1 year ago

Update logging using the following logic[^1]

Update haxe.Log.trace()

Bind trace() to Logger.info()


Implement toString()

Implement commonly formatted toString() functions wherever it's appropriate and needed


Object logging

Updater

Event Error Warning Info Debug Verbose
Init x
Update found x
Update not found x
Versioninfo download failed x
Versioninfo parsing failed x
Installer download failed x

Processes & Executors

Process

Event Error Warning Info Debug Verbose
onStart x
onStop x
onStdOut x
onStdErr x
ThreadFunc x

Executor

Event Error Warning Info Debug Verbose
execute x
onStop x
onStdOut x
onStdErr x
simulateStop x

ParallelExecutor, SerialExecutor

Event Error Warning Info Debug Verbose
add x
onExecutorStart x
onExecutorStop x

Apps

AbstractApp

Event Error Warning Info Debug Verbose
getInit x
inlineInit x

Shell

Event Error Warning Info Debug Verbose

Vagrant

Event Error Warning Info Debug Verbose
getExecutor* x

VirtualBox

Event Error Warning Info Debug Verbose
getExecutor* x

Server logic

AbstractProvisioner

Event Error Warning Info Debug Verbose

DemoTasks

Event Error Warning Info Debug Verbose

Server

Event Error Warning Info Debug Verbose

ServerStatusManager

Event Error Warning Info Debug Verbose

[^1]: Fatal is reserved for Haxe exceptions