diff options
author | zelig <viktor.tron@gmail.com> | 2014-06-23 18:41:11 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-06-23 18:57:00 +0800 |
commit | d060ae6a368bb880132e548c58b33e2508adc125 (patch) | |
tree | 1ed8f383c764c3fe547a9bacf1d7346522c0ff35 /ethereal/ui/ui_lib.go | |
parent | 7bcf875c577cd9710d27dd4511ae21aa62067d79 (diff) | |
download | go-tangerine-d060ae6a368bb880132e548c58b33e2508adc125.tar go-tangerine-d060ae6a368bb880132e548c58b33e2508adc125.tar.gz go-tangerine-d060ae6a368bb880132e548c58b33e2508adc125.tar.bz2 go-tangerine-d060ae6a368bb880132e548c58b33e2508adc125.tar.lz go-tangerine-d060ae6a368bb880132e548c58b33e2508adc125.tar.xz go-tangerine-d060ae6a368bb880132e548c58b33e2508adc125.tar.zst go-tangerine-d060ae6a368bb880132e548c58b33e2508adc125.zip |
changed logger API, functions that allow Gui to implement ethlog.LogSystem for gui logging
Diffstat (limited to 'ethereal/ui/ui_lib.go')
-rw-r--r-- | ethereal/ui/ui_lib.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ethereal/ui/ui_lib.go b/ethereal/ui/ui_lib.go index 9f2cca1e0..eb607aac5 100644 --- a/ethereal/ui/ui_lib.go +++ b/ethereal/ui/ui_lib.go @@ -40,7 +40,7 @@ func NewUiLib(engine *qml.Engine, eth *eth.Ethereum, assetPath string) *UiLib { func (ui *UiLib) Open(path string) { component, err := ui.engine.LoadFile(path[7:]) if err != nil { - ethutil.Config.Log.Debugln(err) + logger.Debugln(err) } win := component.CreateWindow(nil) @@ -60,7 +60,7 @@ func (ui *UiLib) OpenHtml(path string) { func (ui *UiLib) Muted(content string) { component, err := ui.engine.LoadFile(ui.AssetPath("qml/muted.qml")) if err != nil { - ethutil.Config.Log.Debugln(err) + logger.Debugln(err) return } @@ -144,7 +144,7 @@ func (ui *UiLib) DebugTx(recipient, valueStr, gasStr, gasPriceStr, data string) script, err := ethutil.Compile(data) if err != nil { - ethutil.Config.Log.Debugln(err) + logger.Debugln(err) return } |