i need help by progrmming my own Discord bot. I wantet to write in the Code "LogLevel = LogLevel.Debug, UseInternalLoghandler = true" but Visulas studio makes two errors. It says that there is no definition of LogLevel and UnseInternalLoghandler. Can somebody help me? Maybe i fogot a "using" + ..., but i dont know
Why are there no Definitions for "LogLevel" and "UseInternalLoghandler"?
283 views Asked by Janni bärchen At
1
I have the similar error, and I managed to fix the
Loglevel.Debugbut can't fixUseInterNalLogHandler.So for
LogLevel.Debugyou can use this.Microsoft.Extensions.Logging.LogLevel.Debugusing Microsoft.Extensions.Logging.LogLevel.Debugat the top of the code.Sorry can't help with the
UseInternalLoghandler.