intlog

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package intlog provides internal logging for Maltose development usage only.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Debug controls whether logging is enabled.
	// It's true in development environments and false in production by default.
	Debug = true
)

Functions

func Error

func Error(ctx context.Context, v ...interface{})

Error prints `v` with newline using fmt.Println. The parameter `v` can be multiple variables.

func Errorf

func Errorf(ctx context.Context, format string, v ...interface{})

Errorf prints `v` with format `format` using fmt.Printf.

func Print

func Print(ctx context.Context, v ...interface{})

Print prints `v` with newline using fmt.Println. The parameter `v` can be multiple variables.

func Printf

func Printf(ctx context.Context, format string, v ...interface{})

Printf prints `v` with format `format` using fmt.Printf. The parameter `v` can be multiple variables.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL