mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
BIN
examples/log
BIN
examples/log
Binary file not shown.
@@ -1,12 +0,0 @@
|
||||
import log
|
||||
|
||||
fn main(){
|
||||
mut l := log.Log{level:log.INFO}
|
||||
l.i('info')
|
||||
l.w('warn')
|
||||
l.e('error')
|
||||
l.d('no debug')
|
||||
l.set_level(log.DEBUG)
|
||||
l.d('debug')
|
||||
l.f('fatal')
|
||||
}
|
||||
Reference in New Issue
Block a user