{"repo":"BeTomorrow/react-native-file-logger","free":true,"listed":false,"github":"https://github.com/BeTomorrow/react-native-file-logger","clone":"git clone https://github.com/BeTomorrow/react-native-file-logger.git","description":"A simple file-logger for React Native with configurable rolling policy, based on CocoaLumberjack on iOS and Logback on Android.","language":"Java","stars":152,"topics":["react-native","logging","file-logger","cocoalumberjack","logback"],"license":"MIT","category":"mobile-apps","readme_excerpt":"React-native-file-logger A simple file-logger for React Native with configurable rolling policy, based on CocoaLumberjack on iOS and Logback on Android. Features - 💆‍♂️ Easy to setup : Just call FileLogger.configure() and you're done. All your existing console.log/debug/... calls are automatically logged into a file. - 🌀 File rolling : Support for time and size-based file rolling. Max number of files and size-limit can be configured. File rolling can also be disabled. - 📬 Email support : Logging into a file is useless if users cannot send logs back to developers. With react-native-file-logger, file logs can be sent by email without having to rely on another library. - 🛠 TypeScript support : Being written entirely in TypeScript, react-native-file-logger has always up-to-date typings. How it works React-native-file-logger overrides the default console functions to capture log messages. The captured messages are then written to log files using CocoaLumberjack on iOS and Logback Android on Android, with configurable rolling policies for log file management. Installation Getting started This is all you need to add file-logging to your app. All your existing console calls will be appended to a log file. FileLogger.configure() also takes options to customize the rolling policy, log directory path or log-level. If you don't want to use console calls for logging, you can also use the direct access API. API FileLogger.configure(options?): Promise Initialize the file-logger with the","default_branch":null,"files":null,"tree":[],"storefront":"/r/BeTomorrow","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BeTomorrow/react-native-file-logger/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}