package sqlited import ( "github.com/mabetle/mlog" ) var ( logger = mlog.GetLogger("github.com/mabetle/mdb/sqlited") )
package main import ( "github.com/mabetle/mlog" ) var ( logger = mlog.GetLogger("main") ) func main() { mlog.SetTraceLevel() logger.Trace("Hello") logger.Debug("Hello") logger.Info("Hello") logger.Warn("Hello") logger.Error("Hello") }
package mtml import ( "github.com/mabetle/mlog" ) var logger = mlog.GetLogger("github.com/mabetle/mcore/mtml")
package sql_mysqld import ( "github.com/mabetle/mlog" ) var ( logger = mlog.GetLogger("github.com/mabetle/mdb/sql_mysqld") )
package ini import ( "github.com/mabetle/mlog" ) var ( logger = mlog.GetLogger("github.com/mabetle/mcore/mconf/ini") )
package mvalid import ( "github.com/mabetle/mlog" ) var ( logger = mlog.GetLogger("github.com/mabetle/mcore/mvalid") )
package mapp import ( "github.com/mabetle/mlog" ) var ( logger = mlog.GetLogger("github.com/mabetle/mcore/mapp") ) const ( V_VENDOR_MABETLE = "Mabetle" V_VENDOR_MABETLE_URL = "http://www.mabetle.com" MODE_DEV = "dev" ) var ( VersionMain = "1" VersionMinus = "0" VendorName = V_VENDOR_MABETLE VendorURL = V_VENDOR_MABETLE_URL LicenseTo = "DEMO" RunMode = "dev" AccountSchema = "web_common" ) var ( KEY_LICENSE_TO = "license.to"
package mauth import ( "github.com/mabetle/mlog" ) var logger = mlog.GetLogger("github.com/mabetle/mauth")
package mpasswd import ( "github.com/mabetle/mlog" ) var ( logger = mlog.GetLogger("github.com/mabetle/mcore/mpasswd") )
package mdb import ( "github.com/mabetle/mlog" ) var ( logger = mlog.GetLogger("github.com/mabetle/mdb") )
package main import ( "github.com/mabetle/mlog" "github.com/mabetle/mlog/wlog" ) var ( mlogApiLogger = mlog.GetLogger("mlogApiLogger") // api mlogWrapLogger = mlog.GetWrapLogger("mlogWrapLogger") // mlog wlogApiLogger = wlog.NewLogger("wlogApiLogger", 5) // api wlogWrapLogger = wlog.NewWrapLogger("wlogWrapLogger", 5) // ) func Demo() { mlogWrapLogger.Trace("Hello") mlogWrapLogger.Debug("Hello") mlogWrapLogger.Info("Hello") mlogWrapLogger.Warn("Hello") mlogWrapLogger.Error("Hello") mlogWrapLogger.Inspect() //wlogApiLogger.Error("Hello") //wlogWrapLogger.Error("Hello") } func main() { //mlog.SetTraceLevel() mlog.SetDebugLevel() //mlog.SetInfoLevel()
package xlsxsdb import ( "fmt" "github.com/mabetle/mcell/wxlsx" "github.com/mabetle/mcore/msdb" "github.com/mabetle/mlog" ) var ( logger = mlog.GetLogger("github.com/mabetle/mcell/xlsxsdb") ) // XlsxTable implements msdb.SimpleTable type XlsxTable struct { *msdb.BaseTable sheet *wxlsx.Sheet } // CheckSimpleTableImpl check func CheckSimpleTableImpl(file string, sheetName string) (msdb.SimpleTable, error) { return NewXlsxTableBySheetName(file, sheetName) } // NewSimpleTableBySheetName returns XlsxTable func NewSimpleTableBySheetName(file string, sheetName string) (*XlsxTable, error) { return NewXlsxTableBySheetName(file, sheetName) } // NewSimpleTable returns XlsxTable func NewSimpleTable(file string, sheetIndex int) (*XlsxTable, error) {
package dbconf import ( "github.com/mabetle/mlog" ) var ( logger = mlog.GetLogger("github.com/mabetle/mdb/dbconf") )
package wxlsx import ( "github.com/mabetle/mlog" ) var ( logger = mlog.GetLogger("github.com/mabetle/mcell/wxlsx") )
package mmodel import ( "github.com/mabetle/mlog" ) var ( logger = mlog.GetLogger("github.com/mabetle/mcore/mmodel") )