Show / Hide Table of Contents

Class TimedLogEvent

Structure that allows you to log timed execution blocks.

Inheritance
Object
TimedLogEvent
Namespace: NanoByte.Common
Assembly: NanoByte.Common.dll
Syntax
public sealed class TimedLogEvent : ValueType
Examples
using(new LogEvent("Message")) {}

Constructors

TimedLogEvent(String)

Starts a new log event.

Declaration
public TimedLogEvent(string entry)
Parameters
Type Name Description
String entry

The entry for the log file. Elapsed time will automatically be appended.

Methods

Dispose()

Ends the log event.

Declaration
public void Dispose()

Extension Methods

UpdateUtils.To<TIn, TOut>(TIn, Func<TIn, TOut>)
JsonStorage.SaveJson<T>(T, Stream)
JsonStorage.SaveJson<T>(T, String)
JsonStorage.ToJsonString<T>(T)
JsonStorage.ReparseAsJson<T>(Object)
JsonStorage.ReparseAsJson<T>(Object, T)
XmlStorage.SaveXml(Object, Stream, String)
XmlStorage.SaveXml<T>(T, String, String)
XmlStorage.ToXmlString(Object, String)
ConversionUtils.ConvertToString<TType>(TType)
In This Article
Back to top Copyright Bastian Eicher