summaryrefslogtreecommitdiff
path: root/lib/services/log_service.dart
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-08-19 13:07:39 +0200
committerAldrik Ramaekers <aldrik@amftech.nl>2022-08-19 13:07:39 +0200
commitec7c6e4f7ebd4e096722c7cfd1e651867207ec07 (patch)
tree936aa3778aece0d86ee76a34327a5bd76577fe55 /lib/services/log_service.dart
parent019adc4d685e81b658ac88d4f54a4aa151197c09 (diff)
v0.3
Diffstat (limited to 'lib/services/log_service.dart')
-rw-r--r--lib/services/log_service.dart9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/services/log_service.dart b/lib/services/log_service.dart
new file mode 100644
index 0000000..cf8ea0b
--- /dev/null
+++ b/lib/services/log_service.dart
@@ -0,0 +1,9 @@
+import 'package:training_planner/config/defaults.dart';
+
+class LogService {
+ static void log(dynamic data) {
+ if (debug_output) {
+ print(data);
+ }
+ }
+}