audit-logging-pepsico-0.0.5


توضیحات

A logging package which allows users to log in pepsico format. Specially write logs for request and response.
ویژگی مقدار
سیستم عامل OS Independent
نام فایل audit-logging-pepsico-0.0.5
نام audit-logging-pepsico
نسخه کتابخانه 0.0.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Jatin Talati <jatalati@in.ibm.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/audit-logging-pepsico/
مجوز -
# audit_logging_pepsico Under construction! Can be Used to write logs in pepsico format. More Functions will come soon. Developed by Jatin Talati ## Examples of How To Use For plain Logging into Log files ```python from audit_logging_pepsico.audit_config import Logger logger = Logger("<Service_Name") logger.info("Info Message") logger.error("Error Message") logger.debug("Debug Message") # Other Code ``` For Audit Logging into log files ```python from audit_logging_pepsico.audit_config import AuditLog, Logger logger = Logger("<Service_Name") auditlog = AuditLog(logger) auditlog.audit_log() # Other Code ``` For Audit Logging into blob ```python from audit_logging_pepsico.audit_config import AuditLog, Logger logger = Logger("<Service_Name") auditlog = AuditLog() client = auditlog.get_block_blob_client("Connection_String", "Container_Name", "Logs_Blob_name") auditlog.audit_log(logger, write_to_blob=True, client) # Other Code ``` Explore the AuditLog class to use other parameters.


نیازمندی

مقدار نام
- azure-core
- azure-storage-blob
- requests
- requests-oauthlib
- toml


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl audit-logging-pepsico-0.0.5:

    pip install audit-logging-pepsico-0.0.5.whl


نصب پکیج tar.gz audit-logging-pepsico-0.0.5:

    pip install audit-logging-pepsico-0.0.5.tar.gz