# Logger(ロブロックス クラス) > A named logger that emits structured log entries scoped to a hierarchical path. - URL:https://roblox.minecraft-okinawa.com/reference/classes/Logger/ - 公式:https://create.roblox.com/docs/reference/engine/classes/Logger - 受け継いでいるクラス:Object ## プロパティ - `Logger.Name: string`:The name segment of this logger within its parent. - `Logger.FullPath: string`:The dot-joined path of this logger from the root logger. ## メソッド - `Logger:GetLogger(name: string): Logger`:Returns a child logger with the given name, creating it if it does not already exist. - `Logger:Output(message: string, context: Dictionary): ()`:Logs a message at the MessageType.MessageOutput level with optional structured context. - `Logger:Info(message: string, context: Dictionary): ()`:Logs a message at the MessageType.MessageInfo level with optional structured context. - `Logger:Warn(message: string, context: Dictionary): ()`:Logs a message at the MessageType.MessageWarning level with optional structured context. - `Logger:Error(message: string, context: Dictionary): ()`:Logs a message at the MessageType.MessageError level with optional structured context. - `Logger:Log(messageType: MessageType, message: string, context: Dictionary): ()`:Logs a message at the specified level with optional structured context. ## イベント - `Logger.MessageOut(message: string, messageType: MessageType, context: Dictionary)`:Fires when a message is logged through this logger or any of its descendants. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)