this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

actually call the function

+2 -10
+2 -10
main.go
··· 19 19 jsServerAddr = "wss://jetstream.atproto.tools/subscribe" 20 20 ) 21 21 22 - func configureLogger() { 23 - minimumLevel := slog.LevelInfo 24 - debugLogging := os.Getenv("ENABLE_DEBUG_LOGS") 25 - if debugLogging == "true" { 26 - minimumLevel = slog.LevelDebug 27 - } 28 - logger := logging.CreateLogger(minimumLevel) 29 - slog.SetDefault(logger) 30 - } 22 + func main() { 23 + configureLogger() 31 24 32 - func main() { 33 25 signals := make(chan os.Signal, 1) 34 26 signal.Notify(signals, syscall.SIGTERM, syscall.SIGINT) 35 27 ctx, cancel := context.WithCancel(context.Background())