mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
doc: replace os.base_dir with os.dir
This commit is contained in:
parent
4879661f5a
commit
f534edc371
3 changed files with 7 additions and 7 deletions
|
@ -51,7 +51,7 @@ pub fn (mut l Log) set_output_level(level Level) {
|
|||
pub fn (mut l Log) set_full_logpath(full_log_path string) {
|
||||
rlog_file := os.real_path(full_log_path)
|
||||
l.set_output_label(os.file_name(rlog_file))
|
||||
l.set_output_path(os.base_dir(rlog_file))
|
||||
l.set_output_path(os.dir(rlog_file))
|
||||
}
|
||||
|
||||
pub fn (mut l Log) set_output_label(label string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue