mirror of
https://github.com/zplug/zplug
synced 2025-04-05 15:19:13 +02:00
21 lines
513 B
Bash
21 lines
513 B
Bash
__zplug::log::write::error()
|
|
{
|
|
__zplug::job::handle::flock --escape \
|
|
"$_zplug_log[trace]" \
|
|
"$(__zplug::log::format::with_json "ERROR" "$argv[@]")"
|
|
}
|
|
|
|
__zplug::log::write::debug()
|
|
{
|
|
__zplug::job::handle::flock --escape \
|
|
"$_zplug_log[trace]" \
|
|
"$(__zplug::log::format::with_json "DEBUG" "$argv[@]")"
|
|
}
|
|
|
|
__zplug::log::write::info()
|
|
{
|
|
__zplug::job::handle::flock --escape \
|
|
"$_zplug_log[trace]" \
|
|
"$(__zplug::log::format::with_json "INFO" "$argv[@]")"
|
|
}
|