mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 14:40:17 +00:00
Init empty logger
This commit is contained in:
parent
000e3ed734
commit
5924486895
@ -27,7 +27,7 @@ object Library {
|
||||
): Int = {
|
||||
val code = CTypeConversion.toJavaString(codePointer)
|
||||
|
||||
LogFormatter.initLogger(Some(scribe.Level.Info))
|
||||
LogFormatter.initEmptyLogger()
|
||||
|
||||
val result = APICompilation
|
||||
.compileString(
|
||||
|
@ -18,4 +18,10 @@ object LogFormatter {
|
||||
.withHandler(formatter = formatter, minimumLevel = level)
|
||||
.replace()
|
||||
}
|
||||
|
||||
def initEmptyLogger(): Logger =
|
||||
scribe.Logger.root
|
||||
.clearHandlers()
|
||||
.clearModifiers()
|
||||
.replace()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user