logger: use color automatically for a tty
authorJoe Guo <joeg@catalyst.net.nz>
Wed, 24 Oct 2018 03:35:50 +0000 (16:35 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Nov 2018 09:46:20 +0000 (10:46 +0100)
commit24b1aa9da2e53e0dba89811f6a8d14b810bd48a8
tree6b0bc6e55ac6a0cc7ce5b7f7255d152f6c6520f7
parentc4bd785ac12fe80e11e985c8c50e459be4ec9898
logger: use color automatically for a tty

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Nov 21 10:46:20 CET 2018 on sn-devel-144
python/samba/logger.py