Skip to content

Commit

Permalink
FEATURE: Implement logger in basicanalyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
d-Rickyy-b committed Oct 10, 2019
1 parent 73e4dc3 commit d21532e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pastepwn/analyzers/basicanalyzer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
from pastepwn.util import listify
import logging


class BasicAnalyzer(object):
Expand All @@ -14,6 +15,7 @@ def __init__(self, actions, identifier=None):
"""
self.actions = listify(actions)
self.identifier = identifier or self.name
self.logger = logging.getLogger(self.name)

def add_action(self, action):
"""
Expand Down

0 comments on commit d21532e

Please sign in to comment.