Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Use baseUrl as parameter #52

Merged
1 commit merged into from
Nov 9, 2018
Merged

Conversation

piotr-adamczak-mobica
Copy link
Contributor

@piotr-adamczak-mobica piotr-adamczak-mobica commented Oct 5, 2018

Hey,

It would be really helpful if baseUrl parameter for saving logs as files would be a variable.

Why?

Imagine using App Groups to sync your log files.
With this change all you will need to do this is:
logger.baseUrlForFileLogging = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "your-group-id")

All best,
Peter

@przemyslaw-szurmak
Copy link

I would love this change to be included in JustLog !

@ghost
Copy link

ghost commented Nov 9, 2018

Hi @piotr-adamczak-mobica, thanks for contributing! Nice addition, I'll merge it now.

@ghost ghost merged commit 20f2607 into justeat:master Nov 9, 2018
@ghost
Copy link

ghost commented Nov 9, 2018

@piotr-adamczak-mobica we also just published a new version (2.4.1) with your changes.

@piotr-adamczak-mobica
Copy link
Contributor Author

@albertodebortoli-je Thank you so much! :)

This pull request was closed.
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