Skip to content

Instantly share code, notes, and snippets.

View tomascapek's full-sized avatar

Tomáš Čapek tomascapek

  • Prague, Czech Republic
View GitHub Profile

Python notes

Logging

Using loggers through the project

Instead of passing instances of loggers (like logging.Logger), it is sometimes better, to just create them (logging.get_logger('logger name')) in places, where you want to use them.

Passing is preferend only in cases, where many objects is created in short ammount of time, because getting logger is a bit

Keybase proof

I hereby claim:

  • I am tomascapek on github.
  • I am tomascapek (https://keybase.io/tomascapek) on keybase.
  • I have a public key whose fingerprint is 231F 8543 52E5 86AC 9246 373D 3530 E8A8 4563 0283

To claim this, I am signing this object:

@tomascapek
tomascapek / README.md
Created September 20, 2016 07:03 — forked from agnoster/README.md
My ZSH Theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark