feat(logger): Remove unused global vars
This commit is contained in:
@@ -125,11 +125,6 @@ end
|
|||||||
}
|
}
|
||||||
|
|
||||||
LOG_PROGRAM_NAME="cfddns"
|
LOG_PROGRAM_NAME="cfddns"
|
||||||
LOG_DEFAULT_CODE=99
|
|
||||||
LOG_DEFAULT_LEVEL="info"
|
|
||||||
LOG_DEFAULT_MESSAGE="An unspecified error has occurred"
|
|
||||||
LOG_DEFAULT_OPERATION="unspecified"
|
|
||||||
LOG_DEFAULT_STATUS="ERR"
|
|
||||||
|
|
||||||
if [ "$1" = "json" ]; then
|
if [ "$1" = "json" ]; then
|
||||||
writeJsonLog # this will generate a generic error message
|
writeJsonLog # this will generate a generic error message
|
||||||
|
|||||||
Reference in New Issue
Block a user