mirror of
https://github.com/bellingcat/octosuite.git
synced 2026-06-13 05:48:34 +03:00
Update log_roller.py
This commit is contained in:
@@ -1,25 +1,27 @@
|
|||||||
'''
|
"""
|
||||||
logRoller
|
logRoller
|
||||||
This class is where the main notification strings/messages are held,
|
This class is where the main notification strings/messages are held,
|
||||||
and are being used in two different cases (they're beig used by logging to be written to log files, and being printed out to the screen).
|
and are being used in two different cases (they're beig used by logging to be written to log files, and being printed out to the screen).
|
||||||
'''
|
"""
|
||||||
class logRoller:
|
class logRoller:
|
||||||
Ctrl = 'Session terminated with {}.'
|
Ctrl = "Session terminated with {}."
|
||||||
Error = 'An error occurred: {}'
|
Error = "An error occurred: {}"
|
||||||
sessionOpened = 'Opened new session on {}:{}'
|
sessionOpened = "Opened new session on {}:{}"
|
||||||
sessionClosed = 'Session closed at {}.'
|
sessionClosed = "Session closed at {}."
|
||||||
deletedLog = 'Deleted log: {}'
|
viewingLogs = "Viewing logs..."
|
||||||
readingLog = 'Reading log: {}'
|
viewingCsv = "Viewing CSV file(s)..."
|
||||||
viewingLogs = 'Viewing logs...'
|
deletedLog = "Deleted log -> {}"
|
||||||
fileDownloading = 'Downloading:{}'
|
readingLog = "Reading log -> {}"
|
||||||
fileDownloaded = 'Downloaded:downloads/{}'
|
readingCsv = 'Reading csv -> {}'
|
||||||
fileNotFound = 'File ({}) not found.'
|
deletedCsv = 'Deleted csv -> {}'
|
||||||
infoNotFound = 'Information ({} - {} - {}) not found.'
|
fileDownloading = "Downloading -> {}..."
|
||||||
repoNotFound = 'Repository ({}) not found.'
|
fileDownloaded = "Downloaded -> downloads/{}"
|
||||||
userNotFound = 'User (@{}) not found.'
|
infoNotFound = "Information not found -> ({} - {} - {})"
|
||||||
orgNotFound = 'Organization (@{}) not found.'
|
repoNotFound = "Repository not found -> ({})"
|
||||||
repoOrUserNotFound = 'Repository or user not found ({} - @{}).'
|
userNotFound = "User not found -> (@{})"
|
||||||
askLogCsv = 'Do you wish to log this output to a .csv file? (Y/n) '
|
orgNotFound = "Organization not found -> (@{})"
|
||||||
loggedToCsv = 'Output logged to {}'
|
repoOrUserNotFound = "Repository or user not found -> ({} - @{})"
|
||||||
loggingSkipped = '.csv logging skipped.'
|
askLogCsv = "Do you wish to log this output to a .csv file? (Y/n) "
|
||||||
limitInput = ' Limit {} output to how many? (1-100) '
|
loggedToCsv = "Output logged -> ({})"
|
||||||
|
loggingSkipped = "Logging skipped -> ({})"
|
||||||
|
limitInput = "Limit '{}' output to how many? (1-100) "
|
||||||
|
|||||||
Reference in New Issue
Block a user