Skip to content

Latest commit

 

History

History
71 lines (39 loc) · 1.16 KB

logging.md

File metadata and controls

71 lines (39 loc) · 1.16 KB

core::logging

Provides basic low-level logging. In KSP all log messages will appear in the debug console as well as the KSP.log file.

Functions

debug

pub sync fn debug ( message : string ) -> Unit

Write a debug-level message.

Parameters

Name Type Optional Description
message string

error

pub sync fn error ( message : string ) -> Unit

Write an error-level message.

Parameters

Name Type Optional Description
message string

info

pub sync fn info ( message : string ) -> Unit

Write an info-level message.

Parameters

Name Type Optional Description
message string

warning

pub sync fn warning ( message : string ) -> Unit

Write a warning-level message.

Parameters

Name Type Optional Description
message string