binhistory.BinLogEntry
- class binhistory.BinLogEntry(timestamp: ~datetime.datetime = <factory>, computer: str = 'build-27526146-', user: str = 'docs')
Bases:
objectAn entry in a bin log
- __init__(timestamp: ~datetime.datetime = <factory>, computer: str = 'build-27526146-', user: str = 'docs') None
Methods
__init__([timestamp, computer, user])copy_with(**fields)Creates a copy of this BinLogEntry, with optional changes to specified fields
from_string(log_entry[, max_year])Return the log entry from a given log entry string
Format the bin log entry as a string
Attributes
Hostname of the system which accessed the bin
User profile which accessed the bin
Timestamp of last access
- copy_with(**fields)
Creates a copy of this BinLogEntry, with optional changes to specified fields
- classmethod from_string(log_entry: str, max_year: int | None = None) BinLogEntry
Return the log entry from a given log entry string