Comments (7)
nice. i wanna try
from hanami.
@vuvanly Sure, thanks.
from hanami.
@jodosha something like Rails.logger.info
?
from hanami.
@AlfonsoUceda I don't like that singleton. We should explore a different API.
Example:
Lotus::Logger.new # generic logger
# or
Bookshelf::Logger.new # which inherits application's configuration (level)
Other points to consider:
Output stream (file, stdout)Always stdout- Default level (
debug
,info
,fatal
etc..) - Per application default level (
Configuration
) Rotation (maybe useThis is up to the server/container.SysLogger
gem?)- Make it compliant to "The Twelve-Factor App" logging advices
For more details see: http://adam.herokuapp.com/past/2011/4/1/logs_are_streams_not_files/
from hanami.
@vuvanly are you still working on this feature? I haven't heard back from you and @huydx has expressed his interest in giving this a go. So please let me know asap.
from hanami.
As part of this plan, I would love to see a replacement of Rack::CommonLogger
to be used in Lotus::Server#middleware
.
Please remember that if we want to tag the request with an unique ID, we have Action#request_id
for the purpose.
from hanami.
Sorry for late response. Recently i have somethings to do, so in the near
future i think i cannot follow it. Sorry for this inconvenience.
On Sat, Jan 3, 2015 at 4:33 PM, Trung Lê [email protected] wrote:
@vuvanly https://github.com/vuvanly are you still working on this
feature? I haven't heard back from you and @huydx
https://github.com/huydx has expressed his interest in giving this a
go. So please let me know asap.—
Reply to this email directly or view it on GitHub
#34 (comment).
Vũ Văn Lý *
*Ruby on Rails Developer
Address: 15/32/48A, Vo Duy Ninh, Binh Thanh
https://www.google.com/maps/place/13+V%C3%B5+Duy+Ninh,+22,+B%C3%ACnh+Th%E1%BA%A1nh/@10.791769,106.7145395,17z/data=!3m1!4b1!4m2!3m1!1s0x317528adb2a0fdeb:0xc799215398cdaed4
Hometown_: *Hoang Mai, Nghe An
https://www.google.com/maps/place/QL+1A,+%C4%90%E1%BB%93ng+M%E1%BB%97i,+Qu%E1%BB%B3nh+Xu%C3%A2n,+Qu%E1%BB%B3nh+L%C6%B0u/@19.2258856,105.6946963,17z/data=!3m1!4b1!4m2!3m1!1s0x31377484a4a31ae3:0x9ec4d64f0f0f52b8
Email: [email protected]
*Phone: (+84) 1657 656 050 *
Skype: *vanly.se05_
from hanami.
Related Issues (20)
- Could not find gem 'hanami-router (~> 2.1.0.rc)' HOT 12
- 2.1 RC1 - bundler: command not found: hanami on Heroku deploy HOT 22
- lib/tasks/ not installed
- "no implicit conversion of Symbol into String" error when using `format :json` on fresh install of Hanami 2.1 HOT 1
- Custom body parser issue
- [Documentation] FAQ + small snippets collection HOT 1
- Hanami versus Rails (long term objective: see the reddit discussion and entry, in the body of this issue request HOT 3
- Raise helpful error from db provider if the necessary database driver gem is missing
- Add db:migrate rake task
- Expand configurability of db provider
- Register ROM commands and mappers from db/ directory
- Share DB connections between per-slice ROM containers using the same database URL
- Per-slice independent ROM setups
- Multiple slices sharing app-level ROM setup
- Automatically adjust database URL in test mode HOT 3
- Custom MIME types are not working HOT 7
- Add `Slice.source_dir` method
- Add `Slice.app?` method
- Set ROM inflector be the same as the Hanami app inflector HOT 2
- Slice ROM setup with slice-specific database
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.
from hanami.