Skip to content

Working but no color #3

@ghost

Description

For example, here is my simple script using log4bash.sh

#!/bin/bash

source log4bash.sh

log "COOL"

log_warning "HELP!"
log_info "AWESOME"
log_success "WEWEWEWE"
log_error "ERROR!"

and the output is -

[2016-12-02 22:27:20 UTC] [INFO] COOL 
[2016-12-02 22:27:20 UTC] [WARNING] HELP! 
[2016-12-02 22:27:20 UTC] [INFO] AWESOME 
[2016-12-02 22:27:20 UTC] [SUCCESS] WEWEWEWE 
[2016-12-02 22:27:20 UTC] [ERROR] ERROR!

working fine, but no colo(u)r.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions