Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
@@ -0,0 +1,16 @@
|
||||
module log
|
||||
|
||||
// Logger is an interface that describes a generic Logger
|
||||
pub interface Logger {
|
||||
get_level() Level
|
||||
mut:
|
||||
fatal(s string)
|
||||
error(s string)
|
||||
warn(s string)
|
||||
info(s string)
|
||||
debug(s string)
|
||||
// utility methods:
|
||||
set_level(level Level)
|
||||
set_always_flush(should_flush bool)
|
||||
free()
|
||||
}
|
||||
Reference in new issue
Block a user