LogStart() public static method

public static LogStart ( ) : void
return void
コード例 #1
0
ファイル: SetupLevel.cs プロジェクト: drguthals/CodeSpells
    void logStart()
    {
        TraceLogger.LogStart();
        ProgramLogger.LogStart();

        // log all the gnomes you can talk to and their positions
        NPCQuestTalk[] gnomes = Object.FindObjectsOfType(typeof(NPCQuestTalk)) as NPCQuestTalk[];
        foreach (NPCQuestTalk gnome in gnomes)
        {
            if (gnome.name.Contains("Gnome"))
            {
                TraceLogger.LogKV("gnome", gnome.name + ", " + gnome.transform.position);
            }
        }
    }
コード例 #2
0
            /// <summary>
            /// Write to a register
            /// </summary>
            /// <param name="aRegister">The register to write to</param>
            /// <param name="aValue">The new value of aRegister</param>
            public void Write(Registers aRegister, Int32 aValue)
            {
                Debug.Assert(accessMap.ContainsKey(aRegister));
                if (Connection != null)
                {
                    byte?command = accessMap[aRegister].writeCommand;
                    if (command.HasValue)
                    {
                        byte[] theCommand = { (byte)command };
                        sysLog.LogStart("Write", "Write " + aValue + " to " + command);
                        lock (Connection)
                        {
                            SendLong(aValue);

                            Connection.TransmitBinary(theCommand);
                        }
                    }
                }
            }
コード例 #3
0
ファイル: Log.cs プロジェクト: ytywytyw/ASCOMPlatform
 internal static void LogStart(string identifier, string message, params object[] args)
 {
     log.LogStart(identifier, string.Format(message, args));
     started = true;
 }