Hello, how can I know in local if I’m in debug mod...
# ktor
r
Hello, how can I know in local if I’m in debug mode or not ?
s
Let me answer with a question: why do you need to know?
a
Do you mean when you’re executing a code with a debugger?
r
When I test in local, I want print normal logs, but in prod I want custom log
a
Can you use an environment variable that will indicate what environment you are in?
☝️ 1
r
(I’m a noob in web dev), thank’s I will look into it !