Skip to content

add .sh filepath and the file linenumber in log #3

@lingr7

Description

@lingr7

i try to modify no. 106 line to do this

 local std_line="${colour}${date} [${upper}] ${line}${norm}";

add linenumber

   local std_line="${colour}${date} [${upper}] ${BASH_LINENO}: \t${line}${norm}";

and 79 line

      local file_line="${date} [${upper}] ${BASH_LINENO}:\t${line}";

then i success.
maybe merge in the repo.
\t to align

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