mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os, filepath: reorganize functions
This commit is contained in:

committed by
Alexander Medvednikov

parent
6e130cd446
commit
dced76d1a4
@ -67,8 +67,8 @@ pub fn (l mut Log) set_output_level(level LogLevel){
|
||||
|
||||
pub fn (l mut Log) set_full_logpath(full_log_path string) {
|
||||
rlog_file := os.realpath( full_log_path )
|
||||
l.set_output_label( os.filename( rlog_file ) )
|
||||
l.set_output_path( os.basedir( rlog_file ) )
|
||||
l.set_output_label( filepath.filename( rlog_file ) )
|
||||
l.set_output_path( filepath.basedir( rlog_file ) )
|
||||
}
|
||||
|
||||
pub fn (l mut Log) set_output_label(label string){
|
||||
|
Reference in New Issue
Block a user