Code Monkey home page Code Monkey logo

mylogger's Issues

Nothing in the logs

Hello there,

this is strange, i am print logs and then when i look at my log files there is nothing there.

	MyLogger.debug('TEST DELETE THIS NOW');
		MyLogger.debug('TEST DELETE THIS NOW');
		MyLogger.debug('TEST DELETE THIS NOW');
		MyLogger.debug('TEST DELETE THIS NOW');
		MyLogger.debug('TEST DELETE THIS NOW');
		
		File logsExport = await MyLogger.logs.export(
			fileName: 'all-logs',
			exportType: FileType.TXT,
			filter: LogFilter.last24Hours(),
		);
		
		print(logsExport.path);
		

Compatibility with android 13+

Hi,
Does this code even work in Android 13?

    } else {
      directory = await getExternalStorageDirectory();
    }

in Logexporter. As we know Android 13 won't allow access to external storage

Best way to display logs

Hello,

I would like to display the logs not export them, what do you suggest is the best way to display them in the app in a page of it's own?

Best way to assess log file size

Hello,

I was wondering if there was a way to figure out the log file size. I would like to upload the log file once it reaches a certain size but not quite sure how to go about that.

Cheers and thanks again for a wonderful package.

Bad idea to use in production on every function?

I love this package and i want to use it to print all my functions and important events in production regardless. Will this have a significant impact on my app you think?

I am asking instead of testing it first because it will be a few days of intense work and i would like to know if this is a good idea or not before i venture down that path.

Thanks for your insight.

Web support

Web support would be a fantastic addition to this package.

Currently, the initialization fails on getApplicationSupportDirectory call in LogsDatabase, which lacks web implementation.
Fortunately, sembast works fine on the web. It just needs to be initialized differently.

What else needs an update?

AFAICT the core functionality (logging, filtering, retrieving logs) should work fine without any changes except the sembast initialization.

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.