~ubuntu-branches/ubuntu/trusty/dogtail/trusty

« back to all changes in this revision

Viewing changes to dogtail/logging.py

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-08-01 22:59:27 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060801225927-z6oeq78kh32g0c71
Tags: 0.5.1-0ubuntu1
* New upstream release.
* debian/rules:
  - add dh_iconcache.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
 
1
# -*- coding: utf-8 -*-
2
2
"""
3
3
Logging facilities
4
4
 
61
61
                """
62
62
                self.timetup = time.localtime()
63
63
 
64
 
                # This will return a log entry formatted string in YYYY.MM.DD  HH:MM:SS
 
64
                # This will return a log entry formatted string in YYYY.MM.DD HH:MM:SS
65
65
                for i in range(6):
66
66
                        # put in the year
67
67
                        if i == 0:
187
187
 
188
188
        def log(self, message):
189
189
                """
190
 
                Hook used for logging messages.  Might eventually be a virtual
 
190
                Hook used for logging messages. Might eventually be a virtual
191
191
                function, but nice and simple for now.
192
192
                """
193
193
                # Try to use the IconLogger.