Table of Contents

Class HomaGamesLog

Namespace
HomaGames.HomaBelly
Assembly
HomaGames.HomaBelly.Core.dll

Log class to centralizing all Log informations. Can be enabled/disabled from Homa Games Editor Settings window

[Obsolete("Use Logger module instead.")]
public static class HomaGamesLog
Inheritance
HomaGamesLog
Inherited Members

Fields

debugEnabled

public static bool debugEnabled

Field Value

bool

Methods

Debug(string)

Logs a message with Debug severity

[Conditional("HOMA_DEVELOPMENT")]
public static void Debug(string message)

Parameters

message string

DebugFormat(string, params object[])

[Conditional("HOMA_DEVELOPMENT")]
public static void DebugFormat(string message, params object[] format)

Parameters

message string
format object[]

Error(string)

Logs a message with Error severity

[Conditional("HOMA_DEVELOPMENT")]
public static void Error(string message)

Parameters

message string

ErrorFormat(string, params object[])

[Conditional("HOMA_DEVELOPMENT")]
public static void ErrorFormat(string message, params object[] format)

Parameters

message string
format object[]

Warning(string)

Logs a message with Warning severity

[Conditional("HOMA_DEVELOPMENT")]
public static void Warning(string message)

Parameters

message string

WarningFormat(string, params object[])

[Conditional("HOMA_DEVELOPMENT")]
public static void WarningFormat(string message, params object[] format)

Parameters

message string
format object[]