Skip to content

Instantly share code, notes, and snippets.

@hwgao
hwgao / my_logger.py
Created May 21, 2014 08:20
Terminator plugin -- log the output of the terminator into a file with the current time as the default file name and with the time stamp on each line
#!/usr/bin/python
# Plugin by Sinan Nalkaya <sardok@gmail.com>
# See LICENSE of Terminator package.
""" logger.py - Terminator Plugin to log 'content' of individual
terminals """
import os
import sys