mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 记录操作系统平台
This commit is contained in:
parent
d316e4abc3
commit
235d940cad
7 changed files with 72 additions and 5 deletions
|
|
@ -49,6 +49,7 @@ func logBootInfo() {
|
|||
logging.LogInfof("kernel is booting:\n"+
|
||||
" * ver [%s]\n"+
|
||||
" * arch [%s]\n"+
|
||||
" * os [%s] "+
|
||||
" * pid [%d]\n"+
|
||||
" * runtime mode [%s]\n"+
|
||||
" * working directory [%s]\n"+
|
||||
|
|
@ -56,7 +57,7 @@ func logBootInfo() {
|
|||
" * container [%s]\n"+
|
||||
" * database [ver=%s]\n"+
|
||||
" * workspace directory [%s]",
|
||||
Ver, runtime.GOARCH, os.Getpid(), Mode, WorkingDir, ReadOnly, Container, DatabaseVer, WorkspaceDir)
|
||||
Ver, runtime.GOARCH, GetOSPlatform(), os.Getpid(), Mode, WorkingDir, ReadOnly, Container, DatabaseVer, WorkspaceDir)
|
||||
}
|
||||
|
||||
func IsMutexLocked(m *sync.Mutex) bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue