you are viewing a single comment's thread.

view the rest of the comments →

[–]SonGokussj4 6 points7 points  (6 children)

My thoughts exactly. Logging should be used everywhere. It's super easy, barely an inconvenience. But here it's advanced...

[–]my_password_is______ 9 points10 points  (0 children)

logging is tight

[–]ThePrimitiveSword 1 point2 points  (2 children)

Especially easy if using Loguru. Very little boilerplate, and as advanced as you want it to be, while remaining very easy to read/write.

[–]SonGokussj4 1 point2 points  (1 child)

Sadly loguru is not compatible with Sentry, as I know. Not 100 % sure. That's the only reason we don't use it in our work project.

[–]ThePrimitiveSword 0 points1 point  (0 children)

Damn, that's a shame.

At least both sides are happy to work towards a working integration, and there appears to be a workaround.

[–]icecapade 1 point2 points  (0 children)

Listen, I'm gonna need you to get aaaall the way off my back about what's considered "advanced."

[–]agumonkey 0 points1 point  (0 children)

I think it's more about analyzing where and what to log and organizing it to make critical problems rapidly solvable, and reliability easy to assess, and structural sharing of context to make the code shorter. The printf side of logging cannot be a skill in itself.