You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/standards/logging_standards.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,14 @@ Consider the logging any third-party libraries do and configure them appropriate
18
18
19
19
## Log different levels across environments
20
20
21
-
Different log levels are useful in different environments. Use the following as a baseline approach and ensure that log levels are easily configurable:
21
+
Different log levels are useful in different environments.
22
+
23
+
Consider an appropriate level of logging for each environment that fits your specific context.
24
+
25
+
Use the following example as a baseline approach and ensure that log levels are easily configurable:
22
26
23
27
-**Development**: Log debug messages to assist with troubleshooting.
24
-
-**Testing/Staging**: Focus on warnings and errors to validate application behavior.
28
+
-**Testing/Staging**: Focus on warnings and errors to validate application behaviour.
25
29
-**Production**: Restrict logs to errors and critical warnings to minimize noise and protect performance.
0 commit comments