logging_utils
Logging Utilities for Pushover Variables
format_log_string(response)
#
Generate a formatted string for logging
Parameters:
Name | Type | Description | Default |
---|---|---|---|
response |
Union[CampgroundFacility, RecreationArea, str]
|
|
required |
Returns:
Type | Description |
---|---|
str
|
|
Source code in camply/utils/logging_utils.py
get_emoji(obj)
#
log_camply(self, message, *args, **kwargs)
#
Custom Logging Notification Level for Pushover Logging
Between logging.ERROR and logging.CRITICAL (45)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
self |
Logger
|
|
required |
message |
str
|
Message String |
required |
args |
|
()
|
|
kwargs |
|
{}
|
Returns:
Type | Description |
---|---|
None
|
|
Source code in camply/utils/logging_utils.py
log_sorted_response(response_array)
#
Log Some Statements in a Nice Sorted way
Parameters:
Name | Type | Description | Default |
---|---|---|---|
response_array |
List[Any]
|
|
required |
Returns:
Type | Description |
---|---|
None
|
|