2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00

Merge pull request #964 from frappe/change-log-message

chore: changed bench.utils.log API prefix
This commit is contained in:
gavin 2020-04-08 19:12:43 +05:30 committed by GitHub
commit 0caf597b18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ def is_bench_directory(directory=os.path.curdir):
def log(message, level=0): def log(message, level=0):
levels = { levels = {
0: color.blue + 'LOG', # normal 0: color.blue + 'INFO', # normal
1: color.green + 'SUCCESS', # success 1: color.green + 'SUCCESS', # success
2: color.red + 'ERROR', # fail 2: color.red + 'ERROR', # fail
3: color.yellow + 'WARN' # warn/suggest 3: color.yellow + 'WARN' # warn/suggest