mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
log: fix example error
This commit is contained in:
@ -143,7 +143,7 @@ fn main() {
|
||||
// new GenVC
|
||||
fn new_gen_vc(flag_options FlagOptions) &GenVC {
|
||||
mut logger := &log.Log{}
|
||||
logger.set_level(log.DEBUG)
|
||||
logger.set_level(.debug)
|
||||
if flag_options.log_to == 'file' {
|
||||
logger.set_full_logpath( flag_options.log_file )
|
||||
}
|
||||
|
Reference in New Issue
Block a user