Giter Site home page Giter Site logo

Document logging about sanic HOT 6 CLOSED

sanic-org avatar sanic-org commented on June 7, 2024 6
Document logging

from sanic.

Comments (6)

wsbmilk avatar wsbmilk commented on June 7, 2024

+10086

from sanic.

r0fls avatar r0fls commented on June 7, 2024

Currently you would just use logging like you do normally in a python app. There is an example here: https://github.com/channelcat/sanic/blob/master/examples/override_logging.py

What kind of documentation would be helpful here?

from sanic.

santagada avatar santagada commented on June 7, 2024

In the future would be nice to have a full manual like flask with a section on logging. But for now just pointing on the readme after the hello world example to a "comprehensive example" with logging and other things a real service need (db access, cookies, post/get requests, maybe ssl, maybe cron tasks)

from sanic.

seemethere avatar seemethere commented on June 7, 2024

@santagada I do agree that a full example is really needed that is on the TO-DO list!

from sanic.

SakuraSound avatar SakuraSound commented on June 7, 2024

Does #601 satisfy this issue?

from sanic.

seemethere avatar seemethere commented on June 7, 2024

Closing with #601

from sanic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.