fn-logger_migrated_to_gitlab's People
fn-logger_migrated_to_gitlab's Issues
Search filtering
Add a search box to filter items in the current log view.
Logging $scope causes "TypeError: Converting circular structure to JSON"
// Throws TypeError: Converting circular structure to JSON
$log.log('myScope', $scope);
Make official release for bower
I just did a bower install --save fn-logger
; it installed fn-logger but didn't include the compiled version since we added fn.logger.min.js
to the .gitignore
.
A valid release needs to be generated and tagged.
Body padding should be added on load
Right now, the custom body padding to account for the height of the logger is only added on the debugger resize event - this padding needs to be added when you load the debugger.
Clear current log set
At times, your log data set can become very large and you want to purge the current log history.
Add a clear button to purge the logs that match the current filters.
Mutable log items
Update an existing log item with new data. A good example of this is an API call, do the initial insert and mark the item as pending, update the log item as HTTP progress happens, finally update the log item with success/failure and the full response of the call.
Possible API
var id = $log.log(); // returns id
// overrides message and all additional data provided by original .log() call.
$log.update(id, {level: 'error', timestamp: new Date()}, message, {{data, data...}});
Custom log storage adapters/interceptors
You are currently limited to using TaffyDB for the storage mechanism. We should add a plug-able architecture so a different DB could be used or a remote DB could be used (could see some interesting possibilities with logging to a shared Firebase data set and then doing remote log monitoring of clients).
Create readme.md
Project needs a readme file - it should provide:
- Basic usage documentation
- Link to github.io sample page with debugger
- Provide link to releases which should include a dist folder with generated builds
- Document project license (MIT)
- Document CLA process for accepting contributions
Better stack traces
Stack traces get munged when errors come in through the $log
service, we need to find a way to un-munge them.
body padding set when logger is not visible
When viewing a page with the logger installed, padding-bottom is set when the logger isn't visible, leaving empty space at the bottom of the page. At worst causing a page that should scroll to have to scroll.
When the logger is shown, then resized, then closed, the body's padding is set to the last value before the logger was closed.
Custom row render templates
Add the ability to render items of a certain namespace with a different template. Useful for something like logging API requests - define a custom render template that parses the logged data and gives formatting based on the data in the request/response.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.