Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Better logging (on upstream) - #283

Merged
davigonz merged 6 commits into
masterfrom
BetterLogging
Nov 27, 2019
Merged

davigonz merged 6 commits into
masterfrom
BetterLogging

Conversation

@hannesa2

@hannesa2 hannesa2 commented Nov 21, 2019 •

Copy link
Copy Markdown
Contributor

It's the requested PR on your repo instead of #275

Requested here owncloud/android#2725 (comment)

Implements owncloud/android#2730
Needed for owncloud/android#2725

}
if (!directory.exists())
directory.mkdirs()
Timber.plant(FileLoggingTree(directory, filename = storagePath, delegator = Log_OC::class.java))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As an idea for owncloud/android#2725 (comment):
Don't use filename and specify context then the file hast as prefix the package name.

@davigonz
davigonz merged commit 3d7a04a into master Nov 27, 2019
@delete-merged-branch
delete-merged-branch Bot deleted the BetterLogging branch November 27, 2019 17:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants