diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/java/com/sarangkamarang/logdebug/MainActivity.java b/app/src/main/java/com/sarangkamarang/logdebug/MainActivity.java index 33173c1..5b7876b 100644 --- a/app/src/main/java/com/sarangkamarang/logdebug/MainActivity.java +++ b/app/src/main/java/com/sarangkamarang/logdebug/MainActivity.java @@ -23,10 +23,11 @@ protected void onCreate(Bundle savedInstanceState) { return insets; }); try { - super.onCreate(savedInstanceState); + // Proses jika ingin ditambahkan + logger.logToFile("Ini adalah percobaan untuk log ke dalam file .txt, bisa di custome berdasarkan kebutuhan"); } catch (Exception error) { + // Untuk catch data log ke file logger.logToFile(String.valueOf(error)); - logger.logToFile("Fahmi ganteng"); } } } \ No newline at end of file