Skip to content

ayrshare/firebase-emulator-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enhanced Firebase Emulator Logging

Firebase emulator logging is, well, kind of messy. This Node.js app helps clean up the console logs with colors, pretty formatting, and quiet to remove data you don't care about.

See examples and more details on the article How to Enhance Firebase Emulator Logs.

Setup

  1. Clone this repository.
  2. Run the Firebase emulator andsave the output to a file. For example: firebase emulators:start > save.txt or npm run serve > save.txt.
  3. Run the Enhanced Firebase Emulator Logging app with the file as input. node index.js --file ./save.txt

Enjoy the logging!

Parameters

Parameter Description Required
--file Location of the Firebase emulator saved output Yes
--quiet Remove lines with "function, hosting, storage, and pubsub" to clean up the logs No
--pretty Turn off pretty formatting of the logs. Default 'true' No

Bought to you by Ayrshare Social API

About

Pretty up and quiet up Firebase emulator logging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published