すぎゃーんメモ

2009-03-10

Google App Engine でloggingを使ってログを出力する

Python GoogleAppEngine
# loggingをインポートする
import logging
# どこかでログレベルを設定する
logging.getLogger().setLevel(logging.DEBUG)
# ログを出力する
logging.debug('hoge')

たったこれだけなのに何度書いてもなかなか覚えられなかったのでいい加減に暗記してしまいたい

sugyan 2009-03-10 00:05

Google App Engine でloggingを使ってログを出力する
Bookmark this entry on Hatena::Bookmark
Tweet
  • Read more
Write a comment
« Pythonの辞書は存在しないキーでアクセス… pythonのファイルがjython-modeで開かれる… »
Profile
id:sugyan id:sugyan Hatena Blog Pro

技術メモ とか

Subscribed unsubscribe Subscribe Subscribe
Search
Links
  • Twitter @sugyan
  • GitHub @sugyan
Recent Entries
  • StyleGAN2で属性を指定して顔画像を生成する
  • N番目の素数を求める
  • Advent of Code 2020 完答した
  • 顔画像生成のためのデータセットを厳選する
  • ISUCON10 予選敗退した
Archive

Start using Hatena Blog!

sugyan is using Hatena Blog. Would you like to try it too?

Start using Hatena Blog (Free)
What is Hatena Blog?
すぎゃーんメモ すぎゃーんメモ

Powered by Hatena Blog | ブログを報告する

Star added

Quote saved.

Login to quote this blog

Failed to save quote. Please try again later.

You cannot quote because this article is private.

Subscribed unsubscribe Subscribe Subscribe