Flutter app world logo
  • Home
  • Flutter App
    • UI
    • ads
    • Timeline
    • Widgets
    • Plugin
    • Games
    • library
    • Templates
    • Maps
    • Timeline
    • clock
    • Animation
    • packages
  • Dart
  • Marketplace

Simple, pretty and powerful logger for flutter

 July 24, 2021   Login

flutter_logger

  • Simple, pretty and powerful logger for flutter,It has the log level, file name and line number, and can customize the color of the log level,It was inspired by logger ,Color not supported on ios。
  • It can be printed on the phone, and logs can be filtered

Download

flutter_easylogger: ^{LAST_VERSION}

Usage

Logger.d("hello");

Output

Options

no tag

Logger.v("hello world");
Logger.d("hello world");
Logger.i("hello world");
Logger.w("hello world");
Logger.e("hello world");
var json = "{\"name\":\"tom\",\"age\":\"18\"}";
Logger.json(json);

with tag

Logger.d("hello",tag:"TAG");

Json support (output will be in debug level)

Logger.json(json);

jumps to the printed file details page

Advanced

Logger.init(
    true,// isEnable ,if production ,please false
    isShowFile: true, // In the IDE, whether the file name is displayed
    isShowTime: true, // In the IDE, whether the time is displayed
    isShowNavigation: true, // In the IDE, When clicked, it jumps to the printed file details page
    levelVerbose: 247, // In the IDE, Set the color
    levelDebug: 26,
    levelInfo: 28,
    levelWarn: 3,
    levelError :  9 ,
    phoneVerbose: Colors.white54, // In your phone or web,, Set the color
    phoneDebug: Colors.blue,
    phoneInfo: Colors.green,
    phoneWarn: Colors.yellow,
    phoneError: Colors.redAccent,
  );

You can change the color of level, and the value is in the range of 0-255. Please refer to the picture below for details

print on the phone

Logs can be printed on the phone or filtered by log level or keyword

// add Overlay
ConsoleOverlay.show(context);
// remoove
ConsoleOverlay.remove();

Note

Turn off logging when production

Logger.init(false);
IOSIOSAndroidWeb
ide colornoyesyes
phone coloryesyesyes

Download flutter logger source code on GitHub

https://github.com/niezhiyang/flutter_logger

Flutterappworld
Flutterappworld

Provides the list of the opensource Flutter apps collection with GitHub repository.

<< This is the base project for flutter programers An implicit animation widget that flips from one number to another >>

Flutter App Templates

Flutter App Template

Subscribe

Loading

Recent Posts

  • Flutter Client SDK for LiveKit
  • PrepPDF app provides organised access to previous year question papers and solutions
  • The project is a Flutter library for SMS verification codes
  • OpSo – Open Source Programs App
  • Learning app for kids

Categories

  • 3D
  • Admin
  • ads
  • AI
  • Alert
  • Algorithm
  • Analytics
  • Animation
  • Ant
  • API
  • Article
  • Audio
  • Authentication
  • Avatar
  • Backend
  • Badges
  • Bank
  • Barcode
  • Binding
  • Bitcoin Ticker
  • Bitwarden
  • BLoC
  • Blockchain
  • Bluetooth
  • Blur
  • BMI
  • Book
  • Booking
  • Button
  • Cache
  • calculator
  • Calendar
  • Camera
  • canvas
  • Captcha
  • Carousel
  • Carousel
  • Cart
  • Chart
  • chat
  • Chips
  • Choice
  • Class
  • Clipboard
  • Clipper
  • clock
  • Collection
  • Colors
  • Command Line
  • Community
  • Contact
  • Converter
  • Country Code
  • Covid-19
  • Crypto Currency
  • Cupertino
  • Currency
  • Dart
  • Dashboard
  • Database
  • Date & Time
  • Designs
  • Desktop
  • Desktop App
  • Dev Tool
  • Dialog
  • Doctor App
  • Downloader
  • Draw
  • Drawer
  • Dropdown
  • E-Learning
  • ecommerce
  • Editor
  • Education
  • Effect
  • Emoji
  • Encryption
  • Event
  • Exercises
  • Extension
  • Face Detection
  • Facebook
  • Feeds
  • Figma
  • File Manager
  • Files
  • Firebase
  • Flight
  • Floating
  • Flutter App
  • Flutter Card
  • Flutter Desktop
  • Food Ordering
  • Form
  • Framework
  • Furniture
  • Furniture Store
  • Games
  • Generator
  • Geocoding
  • Google Sheets
  • Graphics
  • GraphQL
  • Gravatar
  • grid
  • Grocery
  • Header
  • Health
  • Hooks
  • Http
  • Icons
  • Img
  • Input
  • IoT
  • Javascript
  • Json
  • Keyboard
  • Language Learning
  • Launcher
  • Laundry
  • Layout
  • Library
  • library
  • List
  • ListTile
  • Loader
  • Location
  • Login
  • Machine Learning
  • Mail
  • Maps
  • Marketplace
  • Material Design
  • Media
  • Medical
  • Menu
  • Messenger App
  • Meta Layer
  • Mobx
  • Movie
  • Music Player
  • MVC
  • Navigation
  • Navigation bar
  • Network
  • Neumorphic
  • News
  • Notes App
  • NuBank
  • on-boarding
  • OnBoarding
  • OTP
  • packages
  • Packages
  • Padding
  • Paginating
  • PAGINATION
  • parallax
  • Parser
  • Password
  • Payment Gateway
  • PDF
  • Picker
  • Pie chart
  • Pin Code
  • Pizza
  • Plugin
  • plugin
  • Podcast
  • popup
  • portfolio
  • POS
  • Progress
  • Push Notification
  • QR Code
  • Quiz
  • Radio Component
  • Rating Bar
  • Redux
  • Refresh
  • Remote
  • Render
  • Responsive
  • Rest API
  • Restaurants
  • Ribbon
  • Routing
  • School App
  • Screen
  • Scroll
  • Search
  • Shopping
  • Sidebar
  • Sign in
  • Simulator
  • Skeleton
  • Slider
  • SMS
  • Social Media
  • Solar
  • Splash screens
  • State Management
  • Stickers
  • Stocks Market
  • Streaming
  • SVG
  • Swagger
  • Swipe
  • Switch
  • TabBar
  • Table
  • Tags
  • Task Manager
  • Taxi
  • Templates
  • Testing
  • Text
  • Text Field
  • Theme
  • TikTok
  • Time Tracking
  • Timeline
  • Timelines
  • Toast
  • Todo
  • Toggle
  • Tools
  • Transition
  • Translator
  • Transport
  • Travel
  • TV app
  • Twitter
  • UI
  • Uncategorized
  • UX
  • Video
  • Video Conferencing
  • video player
  • Visualization
  • Wallet
  • Wallpapers
  • Watch
  • Weather
  • web app
  • Web Scraping
  • website
  • WeChat
  • Widgets
  • WooCommerce
  • wrapper
  • XML
  • Yoga

  • About US
  • Privacy Policy
  • Submit App
  • Web Stories
    • Free Online Food Delivery Apps for Business
    • Top 5 Flutter Applicatons – Open Source
    • Free Food Ordering App
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT