Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write to file: Not able to write like logs #39

Open
pasupuletisrinath opened this issue Aug 8, 2018 · 3 comments
Open

Write to file: Not able to write like logs #39

pasupuletisrinath opened this issue Aug 8, 2018 · 3 comments

Comments

@pasupuletisrinath
Copy link

pasupuletisrinath commented Aug 8, 2018

I'm trying to write logs to file by using your code said in this link

I'm desperately searching for a log to file in cordova even tried searching for ans in stackoverflow

@cfjedimaster
Copy link
Owner

You didn't say what went wrong. You need to provide more information about what you tried and what you saw. Was there an error?

@pasupuletisrinath
Copy link
Author

logOb is re-initialising every time when I load. So, file is getting over ride if i try to log like below mentioned way.

logger.info("hello world");
logger.debug("hello world");
logger.error("hello world");

Only of the line is writing to log file instead of three lines.

@cfjedimaster
Copy link
Owner

Ok, well I'd accept a PR to correct it. I'm not really working on this code much anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants