add a bash log library alilog4bash.sh
authormkrzewic <mikolaj.krzewicki@cern.ch>
Tue, 9 Dec 2014 12:59:03 +0000 (13:59 +0100)
committermkrzewic <mikolaj.krzewicki@cern.ch>
Tue, 9 Dec 2014 13:07:40 +0000 (14:07 +0100)
commit70a21d36c4f4ed90d2a0b19acea67d0bc3bb3136
treeefc669d7bb0b47cf1786a7aa9be151d031f891cf
parent27b57e6bcd8b30b4021375354894d3c640a0c8f1
add a bash log library alilog4bash.sh

based on log4bash, MIT licensed
slightly adopted:
 - internal global variables prepended with "ALI_"
 - functions prepended with "ali"

to use:
source $ALICE_ROOT/PWGPP/scripts/alilog4bash.sh

alilog "some info"
alilog_warning "some warning"
alilog_error "some error"
alilo_debug "some debug message"

... and a few more
PWGPP/scripts/alilog4bash.sh [new file with mode: 0644]