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:
commit
0caf597b18
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user