Skip to content

T_NChronicle_Core_Model_Chronicle

Andy James edited this page Aug 3, 2017 · 1 revision

Chronicle Class

NChronicle container for primary recording methods.

Inheritance Hierarchy

System.Object
  NChronicle.Core.Model.Chronicle
Namespace: NChronicle.Core.Model
Assembly: NChronicle.Core (in NChronicle.Core.dll) Version: 1.0.3.0 (1.0.3.0)

Syntax

C#

public class Chronicle : IChronicle

VB

Public Class Chronicle
	Implements IChronicle

F#

type Chronicle =  
    class
        interface IChronicle
    end

The Chronicle type exposes the following members.

Constructors

 

Name Description
Public method Chronicle Create Chronicle configured with the NChronicle base configuration.
  Back to Top

Methods

 

Name Description
Public method ClearTags Clear all persisted tags, appending no extra tags to records made via this instance. Clear all persisted tags, appending no extra tags to records made via this instance.
Public method Critical(Exception, String[]) Record a Critical level Exception with the specified tags.
Public method Critical(String, String[]) Record a Critical level message with the specified tags.
Public method Critical(String, Exception, String[]) Record a Critical level message and Exception with the specified tags.
Public method Debug(Exception, String[]) Record a Debug level exception with the specified tags.
Public method Debug(String, String[]) Record a Debug level message with the specified tags.
Public method Debug(String, Exception, String[]) Record a Debug level message and Exception with the specified tags.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Destructor for this Chronicle instance. (Overrides Object.Finalize().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Info(Exception, String[]) Record a Info level Exception with the specified tags.
Public method Info(String, String[]) Record a Info level message with the specified tags.
Public method Info(String, Exception, String[]) Record a Info level message and Exception with the specified tags.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PersistTags Append specified tags to all records made via this instance.
Public method Success(Exception, String[]) Record a Success level Exception with the specified tags.
Public method Success(String, String[]) Record a Success level message with the specified tags.
Public method Success(String, Exception, String[]) Record a Success level message and Exception with the specified tags.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Warning(Exception, String[]) Record a Warning level Exception with the specified tags.
Public method Warning(String, String[]) Record a Warning level message with the specified tags.
Public method Warning(String, Exception, String[]) Record a Warning level message and Exception with the specified tags.
  Back to Top

See Also

Reference

NChronicle.Core.Model Namespace

NChronicle

ChronicleConfigurationDelegate

IChronicle

IChronicleLibrary

Chronicle

ChronicleConfiguration

ChronicleLevel

ChronicleRecord

Clone this wiki locally