Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MFlisar committed Jun 9, 2021
1 parent 34dba13 commit d305e0b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ L.plant(ConsoleTree())
// L.enabled = Build.DEBUG
```

## Module `filelogger`
##### Module `filelogger`

```kotlin
// a file logger (optional)
Expand All @@ -69,14 +69,14 @@ val fileLoggingSetup = FileLoggingSetup.DateFiles(context)
L.plant(FileLoggingTree(fileLoggingSetup))
```

## Module `feedback`
##### Module `feedback`

```kotlin
// send feedback with the log file appended (chooser to select a mail will be opened, no internet permission needed!)
L.sendFeedback(context, fileLoggingSetup, "[email protected]")
```

## Module `notification`
##### Module `notification`

```kotlin
// show a crash notifcation - on notification click the user can send a feedback mail including the log file
Expand All @@ -92,7 +92,7 @@ L.showInfoNotification(context, "NotificationChannelID", 1234 /* notification id
L.showInfoNotification(context, logFile, "NotificationChannelID", 1234 /* notification id */, "Notification Title", "Notification Text", R.mipmap.ic_launcher)
```

## Module `viewer`
##### Module `viewer`

```kotlin
// show the log viewer activity
Expand Down

0 comments on commit d305e0b

Please sign in to comment.