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