Server: Use the console sink by default

  • Konuyu Başlatan Konuyu Başlatan twostars
  • Başlangıç tarihi Başlangıç tarihi
  • Öne çıkan
T

twostars

Server: Use the console sink by default

As OnStart() is what sets up the loggers, and rendering occurs afterwards,
we have the ftxui sink just use the console logger to log on-demand as it's loading
up until it's finished loading and it sets up the ftxui sink for rendering.

We rename _useStdout to _useConsoleSink to be more explicit, and add _storeLogBuffer
as everything we're writing to console now should be swapped over to & rendered by ftxui.

Github Commit Görüntüle...
See Commints...

..
 

Similar threads

T
Cevaplar
0
Görüntüleme
24
twostars
T
T
Cevaplar
0
Görüntüleme
17
twostars
T
T
Cevaplar
0
Görüntüleme
14
twostars
T
K
Cevaplar
0
Görüntüleme
38
kenner2
K
Geri
Üst