mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-05 16:20:14 +01:00
2021-12-11 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Log' class to the 'rivwebapi' API. * Modified the 'ListLogs()' method to use the 'Log' class in the 'rivwebapi' API. * Added a 'LogLine' class to the 'rivwebapi' API. * Modified the 'ListLog()' method to use the 'LogLine' class in the 'rivwebapi' API. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -84,23 +84,9 @@ except rivwebpyapi.RivWebPyError as err:
|
||||
sys.exit(1)
|
||||
|
||||
#
|
||||
# Display the log list
|
||||
# Display the list of logs
|
||||
#
|
||||
for log in logs:
|
||||
print('name: '+log['name'])
|
||||
print('serviceName: '+log['serviceName'])
|
||||
print('description: '+log['description'])
|
||||
print('originUserName: '+log['originUserName'])
|
||||
print('originDatetime: '+str(log['originDatetime']))
|
||||
print('linkDatetime: '+str(log['linkDatetime']))
|
||||
print('modifiedDatetime: '+str(log['modifiedDatetime']))
|
||||
print('startDate: '+str(log['startDate']))
|
||||
print('endDate: '+str(log['endDate']))
|
||||
print('purgeDate: '+str(log['purgeDate']))
|
||||
print('scheduledTracks: '+str(log['scheduledTracks']))
|
||||
print('completedTracks: '+str(log['completedTracks']))
|
||||
print('musicLinks: '+str(log['musicLinks']))
|
||||
print('musicLinked: '+str(log['musicLinked']))
|
||||
print('trafficLinks: '+str(log['trafficLinks']))
|
||||
print('trafficLinked: '+str(log['trafficLinked']))
|
||||
for key in log.values():
|
||||
print(key+': '+str(log.values()[key]))
|
||||
print('')
|
||||
|
||||
Reference in New Issue
Block a user