Poller
Poller
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
the current increment we dont have. we just have 10 liner tests of features (maybe also a wrong approach)
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
it does. i think i will build a mvp project and document this maybe this evening. this shows maybe the full intent
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
thanks @TeBeCo im gonna look into this enritcher later today.
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
thank you so much for your help. this archieves exactly what we need
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
No description
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
i understand what you mean.
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
ahhh
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
i will quickly take a look into templates for console log.
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
this topic sparked my personal interest more than i could ever admit to my wife
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
i try in 1 moment. i now get the project for the tests sent to me 🙂
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
what i postet is just testing and sandbox code. to isolate the behaviour
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
thats the goal 🙂
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
the next thing would be some nested object, on how to give it the correct scope, since it doesnt and should not know about that (a simple parser for example doesnt need some userid or such (i hope i can articulate clear what i mean - english is not 1st language.)
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
thats the relevant lines var logger = logFactory.CreateLogger<LogInitializer>(); var logProperties = new Dictionary<string, object>(); logProperties["Name"] = "Michael"; using (logger.BeginScope(logProperties)) logger.LogError("With just name");
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
we have a bit of unexpected time on our hands, so we decided we invest a bit into learning/researching for our future log situation.
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
thats an example of the console: fail: ConsoleApp2.LogInitializer[0] => System.Collections.Generic.Dictionary`2[System.String,System.Object] With just name
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
nlog is in legacy where it works. for the azure implementation we want to ditch the NLog dependency.
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
1 sec, i get a log example in a moment.
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
thats a doc i have seen. the scopes in console look like just 'ToString' done onto the dictionary. thats currently where its a bit of area where we are not sure how and what to do. (trying to do the right thing here).
85 replies
CC#
Created by Poller on 6/18/2024 in #help
ILogger<T>
legacy uses nlog into file. azure for now uses the console (not decided if we want more later)
85 replies