Giter Club home page Giter Club logo

filelogger's People

Contributors

greenkeeperio-bot avatar pbakondy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

filelogger's Issues

Support for Ionic 2

Hii,
I wanted to know if this plugin can support Ionic 2 as well. If yes can you provide a small sample code of how it can be used !!
Thank You.

Where is my log file stored in my device?

I am using this module for debug and logging errors when running my ionic app in my android device. I would like to access this file at a later stage for reading. Could you please let me know where is this file stored in my android device and how I could have access to it? Thanks in advance.

File size

Hello is there a portable way to get file size? I'd like to delete the file if it exceeds a particular limit to manage space.

proposal: add option to change cordova.file.dataDirectory to cordova.file.externalDataDirectory

Hi, upon testing your plugin I found that if a internal webserver is used*, the log file is stored under cdvfile://localhost/files/.txt, which (in my case) is inaccessible although it gets written, it's just useless for further debugging if it only persists in an inaccessible location during runtime.

I found in your sourcecode, if I changed all appearances of cordova.file.dataDirectory to cordova.file.externalDataDirectory the file gets created and I can find it under /Android/data//files/.txt.
For now I will fork your plugin, however I thought maybe others faced the same issues and a fileDirectory option would be a nice addition.

*see these plugins: cocoon-cordova-labs-local-webserver, cocoon-cordova-labs-wkwebview-engine-localhost, cocoon-cordova-plugin-wkwebview-engine

Using Ionic 1.3.3 & cordova 6.5.0, my device is a Samsung Galaxy J3 2016

feature request: write to the top of file

Hi, thank you for your fabulous library.
I had a feature request for future consideration -- ability to write to the top of the file.
Justification:many logs would like to have the latest log at the top, especially when the log file grows.

Question on portability - Android/iOS

Hello, thank you for this lovely plugin.

A quick side note:
The plugin for cordova is now called cordova-plugin-file so you may want to modify your note as

cordova plugin add cordova-plugin-file

Now to my question: Have you by any chance tested if this works on Android as well across various devices? I have limited access to android devices and am hoping I can use the log file to debug problems if users report them.

I love it that your plugin does not make me have to worry about file paths etc. I am hoping it abstracts correctly for android as well ๐Ÿ‘

Thanks again

Error with Ripple Emulator

I tried to user $filelogger in an Ionic project. Ripple Emulator is sometimes used during development process. But my application complains about "missing exec:File.resolveLocalFileSystemURI".
ripple

Filelogger plugin don't need to fully support Ripple environment but is it possible to switch correctly to console.log() in that case ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.