• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(10569)  |  Call(10083)  |  Derive(0)  |  Import(486)
No Document.

src/p/y/pyogp.apps-0.1dev/pyogp/apps/examples/parse_packets.py   pyogp.apps(Download)
import traceback
from pyogp.lib.base.message.udpdeserializer import UDPMessageDeserializer
from pyogp.lib.base.settings import Settings
from logging import getLogger, StreamHandler, Formatter, CRITICAL, ERROR, WARNING, INFO, DEBUG
 
logger = getLogger('parse_packet')
 
def enable_logging():
 
    console = StreamHandler()
    console.setLevel(DEBUG) # seems to be a no op, set it for the logger
    formatter = Formatter('%(name)-30s: %(levelname)-8s %(message)s')
    console.setFormatter(formatter)
    getLogger('').addHandler(console)
 
    # setting the level for the handler above seems to be a no-op
    # it needs to be set for the logger, here the root logger
    # otherwise it is NOTSET(=0) which means to log nothing.
    getLogger('').setLevel(DEBUG)

src/l/e/LEPL-4.3.2/src/lepl/_example/trace.py   LEPL(Download)
'''
 
 
from logging import basicConfig, INFO, DEBUG
 
from lepl import *
 

src/l/e/LEPL-4.3.2/src/lepl/offside/_example/offside.py   LEPL(Download)
#@PydevCodeAnalysisIgnore
 
 
from logging import basicConfig, DEBUG
 
from lepl import *
from lepl._example.support import Example

src/l/e/LEPL-4.3.2/src/lepl/offside/_example/line_aware.py   LEPL(Download)
#@PydevCodeAnalysisIgnore
 
 
from logging import basicConfig, DEBUG
 
from lepl import *
from lepl._example.support import Example

src/l/e/LEPL-4.3.2/src/lepl/_example/phone.py   LEPL(Download)
Examples from the documentation.
'''
 
from logging import basicConfig, DEBUG
 
from lepl import *
from lepl._example.support import Example

src/l/e/LEPL-4.3.2/src/lepl/_example/performance.py   LEPL(Download)
Examples from the documentation.
'''
 
from logging import basicConfig, DEBUG
 
from gc import collect
from random import random

src/r/m/RMG-Py-HEAD/rmg/log.py   RMG-Py(Download)
import os.path
import sys
 
from logging import critical, exception, error, warning, info, debug, log, \
	CRITICAL, ERROR, WARNING, INFO, DEBUG, \
	addLevelName, getLogger, StreamHandler, Formatter, FileHandler
 
addLevelName(WARNING, 'Warning: ')
addLevelName(INFO, '')
addLevelName(VERBOSE, '')
addLevelName(DEBUG, '')
 
#def verbose(msg, *args, **kwargs):
#	log(15, msg, args, kwargs)

src/s/p/spoor-HEAD/Spoor/history/Projects/Spoor/head/Spoor/app/markdown.py   spoor(Download)
 
import re, sys, os, random, codecs
 
from logging import getLogger, StreamHandler, Formatter, \
                    DEBUG, INFO, WARN, ERROR, CRITICAL
 
 
MESSAGE_THRESHOLD = CRITICAL
 
 
# Configure debug message logger (the hard way - to support python 2.3)
logger = getLogger('MARKDOWN')
logger.setLevel(DEBUG) # This is restricted by handlers later
    global console_hndlr
    console_hndlr.setLevel(message_threshold)
 
    message(DEBUG, "input file: %s" % input)
 
    if not encoding:
        encoding = "utf-8"
def markdown(text,
             extensions = [],
             safe_mode = False):
 
    message(DEBUG, "in markdown.markdown(), received text:\n%s" % text)
 
    extension_names = []
                      help="same mode ('replace', 'remove' or 'escape'  user's HTML tag)")
 
    parser.add_option("--noisy",
                      action="store_const", const=DEBUG, dest="verbose",
                      help="print debug messages")
    parser.add_option("-x", "--extension", action="append", dest="extensions",
                      help = "load extension EXTENSION", metavar="EXTENSION")

src/p/o/polinax-HEAD/libs/external_libs/markdown-1.7/markdown.py   polinax(Download)
 
import re, sys, codecs
 
from logging import getLogger, StreamHandler, Formatter, \
                    DEBUG, INFO, WARN, ERROR, CRITICAL
 
 
MESSAGE_THRESHOLD = CRITICAL
 
 
# Configure debug message logger (the hard way - to support python 2.3)
logger = getLogger('MARKDOWN')
logger.setLevel(DEBUG) # This is restricted by handlers later
    global console_hndlr
    console_hndlr.setLevel(message_threshold)
 
    message(DEBUG, "input file: %s" % input)
 
    if not encoding:
        encoding = "utf-8"
def markdown(text,
             extensions = [],
             safe_mode = False):
 
    message(DEBUG, "in markdown.markdown(), received text:\n%s" % text)
 
    extension_names = []
                      help="same mode ('replace', 'remove' or 'escape'  user's HTML tag)")
 
    parser.add_option("--noisy",
                      action="store_const", const=DEBUG, dest="verbose",
                      help="print debug messages")
    parser.add_option("-x", "--extension", action="append", dest="extensions",
                      help = "load extension EXTENSION", metavar="EXTENSION")

src/s/p/spoor-HEAD/Spoor/head/Spoor/app/markdown.py   spoor(Download)
 
import re, sys, os, random, codecs
 
from logging import getLogger, StreamHandler, Formatter, \
                    DEBUG, INFO, WARN, ERROR, CRITICAL
 
 
MESSAGE_THRESHOLD = CRITICAL
 
 
# Configure debug message logger (the hard way - to support python 2.3)
logger = getLogger('MARKDOWN')
logger.setLevel(DEBUG) # This is restricted by handlers later
    global console_hndlr
    console_hndlr.setLevel(message_threshold)
 
    message(DEBUG, "input file: %s" % input)
 
    if not encoding:
        encoding = "utf-8"
def markdown(text,
             extensions = [],
             safe_mode = False):
 
    message(DEBUG, "in markdown.markdown(), received text:\n%s" % text)
 
    extension_names = []
                      help="same mode ('replace', 'remove' or 'escape'  user's HTML tag)")
 
    parser.add_option("--noisy",
                      action="store_const", const=DEBUG, dest="verbose",
                      help="print debug messages")
    parser.add_option("-x", "--extension", action="append", dest="extensions",
                      help = "load extension EXTENSION", metavar="EXTENSION")

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next